]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gold/testsuite/Makefile.am
Cleanups in binutils makefiles.
[thirdparty/binutils-gdb.git] / gold / testsuite / Makefile.am
index 6aafde980e9c660583e7b254bba53e739c94fb70..1d6d06b24495628f5b999bdf9d9f337673028d35 100644 (file)
@@ -4,7 +4,8 @@
 # system and the host system are the same.  So these tests will not
 # work when building with a cross-compiler.
 
-AUTOMAKE_OPTIONS = foreign
+# Ignore warning about AM_PROG_CC_C_O due to large_CFLAGS
+AUTOMAKE_OPTIONS = foreign -Wno-portability
 
 # The two_file_test tests -fmerge-constants, so we simply always turn
 # it on.  This may need to be controlled by a configure option
@@ -12,7 +13,7 @@ AUTOMAKE_OPTIONS = foreign
 AM_CFLAGS = $(WARN_CFLAGS) $(LFS_CFLAGS) -fmerge-constants
 AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CFLAGS) -fmerge-constants
 
-INCLUDES = \
+AM_CPPFLAGS = \
        -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../../include \
        -I$(srcdir)/../../elfcpp -I.. \
        -DLOCALEDIR="\"$(datadir)/locale\"" \