svn commit: r365137 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Sat Aug 16 21:18:49 UTC 2014


Author: bdrewery
Date: Sat Aug 16 21:18:49 2014
New Revision: 365137
URL: http://svnweb.freebsd.org/changeset/ports/365137
QAT: https://qat.redports.org/buildarchive/r365137/

Log:
  No need to expand CFLAGS/LDFLAGS here.
  
  With hat:	portmgr

Modified:
  head/Mk/bsd.ssp.mk

Modified: head/Mk/bsd.ssp.mk
==============================================================================
--- head/Mk/bsd.ssp.mk	Sat Aug 16 21:15:20 2014	(r365136)
+++ head/Mk/bsd.ssp.mk	Sat Aug 16 21:18:49 2014	(r365137)
@@ -20,11 +20,11 @@ SSP_NEED_NONSHARED=	yes
     (${ARCH} == i386 || ${ARCH} == amd64)
 # Overridable as a user may want to use -fstack-protector-all
 SSP_CFLAGS?=	-fstack-protector
-CFLAGS:=	${CFLAGS} ${SSP_CFLAGS}
-LDFLAGS:=	${LDFLAGS} -fstack-protector
+CFLAGS+=	${SSP_CFLAGS}
+LDFLAGS+=	-fstack-protector
 # -lssp_nonshared is needed on i386 where /usr/lib/libc.so is not an ldscript
 # This is currently unused XXX
 .	if defined(SSP_NEED_NONSHARED)
-LDFLAGS:=	${LDFLAGS} -lssp_nonshared
+LDFLAGS+=	-lssp_nonshared
 .	endif
 .endif


More information about the svn-ports-head mailing list