mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
. Add an OPTION to compile with high optimisation.
PR: 66965 Submitted by: Ronald Klop <ronald@cs.vu.nl> (maintainer)
This commit is contained in:
parent
3591c5e650
commit
db2c514e2c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112243
@ -17,6 +17,7 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/bison:${PORTSDIR}/devel/bison
|
||||
|
||||
OPTIONS= X11 "Enable X11 support" on
|
||||
OPTIONS+= DEBUG "Enable extra debug output" off
|
||||
OPTIONS+= OPTIMIZED_CFLAGS "Compile with -O3" off
|
||||
|
||||
CONFIGURE_ARGS= --with-includes="${JAVA_HOME}/include ${LOCALBASE}/include"
|
||||
|
||||
@ -32,6 +33,10 @@ LIB_DEPENDS+= gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20
|
||||
CFLAGS+= -DJMPDEBUG -g
|
||||
.endif
|
||||
|
||||
.if defined(WITH_OPTIMIZED_CFLAGS)
|
||||
CFLAGS+= -O3
|
||||
.endif
|
||||
|
||||
USE_LIBTOOL_VER=15
|
||||
USE_GMAKE= yes
|
||||
USE_JAVA= yes
|
||||
|
Loading…
Reference in New Issue
Block a user