Convert to new optionsframework
This commit is contained in:
parent
f8bb265ad3
commit
1527519a8b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298962
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ COMMENT= XML Toolkit
|
|||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKDIR}/${DISTNAME}/COPYING
|
||||
|
||||
OPTIONS= OPTIMIZED_CFLAGS "Extra optimizations" off
|
||||
OPTIONS_DEFINE= OPTIMIZED_CFLAGS
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/XML
|
||||
|
||||
|
@ -29,7 +29,7 @@ MAKE_JOBS_SAFE= yes
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_OPTIMIZED_CFLAGS)
|
||||
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
|
||||
CFLAGS+= -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations -O3
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue