mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Use CFLAGS_
This commit is contained in:
parent
f2658ab325
commit
bab2e760e4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337707
@ -27,6 +27,9 @@ PLIST_FILES= lib/xmms/Input/libsap.so
|
||||
|
||||
OPTIONS_DEFINE= OPTIMIZED_CFLAGS
|
||||
|
||||
CFLAGS_amd64= -fpic -DPIC
|
||||
CFLAGS_ia64= -fpic -DPIC
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# clang can build this without -fno-exceptions
|
||||
@ -34,10 +37,6 @@ OPTIONS_DEFINE= OPTIMIZED_CFLAGS
|
||||
CXXFLAGS+= -fno-exceptions
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
||||
CFLAGS+= -fpic -DPIC
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
|
||||
CXXFLAGS+= -fPIC -fpic -funroll-all-loops -fno-strength-reduce \
|
||||
-finline-functions -fomit-frame-pointer
|
||||
|
Loading…
Reference in New Issue
Block a user