aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-03-25 22:36:23 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-03-25 22:36:23 +0000
commit5df2c3ccc4cc9ccb0fdb584e38f4943ef9ca6e53 (patch)
tree63bae6aa66d0a59e26832ce1d89cb9e731df6bf5 /Makefile.inc1
parentd63cb012ba3714f63d35c9df1450f6e198d03a0a (diff)
downloadsrc-5df2c3ccc4cc9ccb0fdb584e38f4943ef9ca6e53.tar.gz
src-5df2c3ccc4cc9ccb0fdb584e38f4943ef9ca6e53.zip
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
Notes
Notes: svn path=/head/; revision=297278
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 2e39d6cc3a66..34ba23aa8d66 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -448,12 +448,10 @@ TARGET_TRIPLE?= ${TARGET_ARCH:C/amd64/x86_64/}-${TARGET_ABI}-freebsd11.0
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"