svn commit: r297278 - head

Bryan Drewery bdrewery at FreeBSD.org
Fri Mar 25 22:36:25 UTC 2016


Author: bdrewery
Date: Fri Mar 25 22:36:23 2016
New Revision: 297278
URL: https://svnweb.freebsd.org/changeset/base/297278

Log:
  External compiler: Remove redundant flags from CXXFLAGS.
  
  The use of XCXXFLAGS is to assign it to CXX in CROSSENV.
  XCFLAGS is also assigned here so there is no need to have
  --syroot and -B flags again.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Fri Mar 25 22:36:13 2016	(r297277)
+++ head/Makefile.inc1	Fri Mar 25 22:36:23 2016	(r297278)
@@ -448,12 +448,10 @@ TARGET_TRIPLE?=	${TARGET_ARCH:C/amd64/x8
 XCFLAGS+=	-target ${TARGET_TRIPLE}
 .endif
 XCFLAGS+=	--sysroot=${WORLDTMP} ${BFLAGS}
-XCXXFLAGS+=	--sysroot=${WORLDTMP} ${BFLAGS}
 .else
 .if defined(CROSS_BINUTILS_PREFIX) && exists(${CROSS_BINUTILS_PREFIX})
 BFLAGS+=	-B${CROSS_BINUTILS_PREFIX}
 XCFLAGS+=	${BFLAGS}
-XCXXFLAGS+=	${BFLAGS}
 .endif
 .endif # ${XCC:M/*} || ${MK_CROSS_COMPILER} == "no"
 


More information about the svn-src-all mailing list