[gold] PATCH: Filter out -Wp,-D_FORTIFY_SOURCE=. with -O0
Cary Coutant
ccoutant@google.com
Thu Dec 20 20:23:00 GMT 2012
More information about the Binutils mailing list
Thu Dec 20 20:23:00 GMT 2012
- Previous message (by thread): Spurious undefined reference error?
- Next message (by thread): [PATCH] Merge Makefile.{def,in} from GCC
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>> 2012-10-25 H.J. Lu <hongjiu.lu@intel.com> >> >> * testsuite/Makefile.am (COMPILE1): New variable. Renamed from >> COMPILE generated by automake. >> (LINK1): Likewise. >> (CXXCOMPILE1): Likewise. >> (CXXLINK1): Likewise. >> (COMPILE): Strip out -Wp,-D_FORTIFY_SOURCE= from COMPILE1. >> (LINK): Likewise. >> (CXXCOMPILE): Likewise. >> (CXXLINK): Likewise. >> * testsuite/Makefile.in: Regenerated. > > This is OK. Wouldn't it have worked to add -U_FORTIFY_SOURCE to CPPFLAGS? It seems like that would have been a lot cleaner. (All those `echo ... | sed ...` in my make output hurt my eyes and make it a pain to cut and paste compile commands.) -cary
- Previous message (by thread): Spurious undefined reference error?
- Next message (by thread): [PATCH] Merge Makefile.{def,in} from GCC
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list