mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 22:12:43 +00:00
Use the new PO_CXXFLAGS from r202807 to remove the '-ffunction-sections'
flag when compiling profiled objects as it's ignored by the compiler. This removes the associated warning for each file compiled. MFC after: 1 month
This commit is contained in:
parent
424b4e66a9
commit
a070c49911
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202808
@ -21,6 +21,7 @@ CFLAGS+= -I${GCCLIB}/include -I${SRCDIR}/include -I.
|
||||
CFLAGS+= -frandom-seed=RepeatabilityConsideredGood
|
||||
CXXFLAGS+= -fno-implicit-templates -ffunction-sections -fdata-sections \
|
||||
-Wno-deprecated
|
||||
PO_CXXFLAGS= ${CXXFLAGS:N-ffunction-sections}
|
||||
|
||||
DPADD= ${LIBM}
|
||||
LDADD= -lm
|
||||
|
@ -23,6 +23,7 @@ CFLAGS+= -I${GCCLIB}/include -I${SRCDIR} -I${GCCDIR}
|
||||
CFLAGS+= -I${.CURDIR}/../libstdc++ -I.
|
||||
CFLAGS+= -frandom-seed=RepeatabilityConsideredGood
|
||||
CXXFLAGS+= -fno-implicit-templates -ffunction-sections -fdata-sections
|
||||
PO_CXXFLAGS= ${CXXFLAGS:N-ffunction-sections}
|
||||
|
||||
HDRS= exception new typeinfo cxxabi.h exception_defines.h
|
||||
INCS= ${HDRS:S;^;${SRCDIR}/;}
|
||||
|
Loading…
Reference in New Issue
Block a user