svn commit: r337707 - head/audio/xmms-sapplug

Baptiste Daroussin bapt at FreeBSD.org
Fri Dec 27 11:05:31 UTC 2013


Author: bapt
Date: Fri Dec 27 11:05:30 2013
New Revision: 337707
URL: http://svnweb.freebsd.org/changeset/ports/337707

Log:
  Use CFLAGS_

Modified:
  head/audio/xmms-sapplug/Makefile

Modified: head/audio/xmms-sapplug/Makefile
==============================================================================
--- head/audio/xmms-sapplug/Makefile	Fri Dec 27 11:01:19 2013	(r337706)
+++ head/audio/xmms-sapplug/Makefile	Fri Dec 27 11:05:30 2013	(r337707)
@@ -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


More information about the svn-ports-head mailing list