]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/Makefile.in
When building target binaries, ensure that the warning flags selected for the command...
[thirdparty/binutils-gdb.git] / ld / Makefile.in
index 48b7ba73bb97ee96f5112ff0b352e8740bc52f48..3511e5f12083def798567b1f30291f89a160bdde 100644 (file)
@@ -354,6 +354,7 @@ TESTBFDLIB = @TESTBFDLIB@
 USE_NLS = @USE_NLS@
 VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
+WARN_CFLAGS_FOR_BUILD = @WARN_CFLAGS_FOR_BUILD@
 WARN_WRITE_STRINGS = @WARN_WRITE_STRINGS@
 XGETTEXT = @XGETTEXT@
 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
@@ -508,7 +509,7 @@ CXX_FOR_TARGET = ` \
   fi`
 
 
-# Strip out sanitization options as they require special host libraries.
+# Strip out sanitization options as we want to test building binaries without any extra paraphernalia
 CFLAGS_FOR_TARGET = `echo $(CFLAGS) | sed -e 's/-fsanitize=address//g' -e 's/-fsanitize=undefined//g'`
 CXXFLAGS_FOR_TARGET = `echo $(CXXFLAGS) | sed -e 's/-fsanitize=address//g' -e 's/-fsanitize=undefined//g'`
 info_TEXINFOS = ld.texinfo