summaryrefslogtreecommitdiff
path: root/Makefile.def
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2008-10-22 13:35:30 +0000
committerDaniel Jacobowitz <dan@debian.org>2008-10-22 13:35:30 +0000
commita90d1301117b72eef3c627a04d03834b8c673ed2 (patch)
treea85d8db30b3b77c605e0cb323fe6832d74e3a16c /Makefile.def
parent6c27c92f34881d6e9291a79d35423fff21083a7f (diff)
downloadbinutils-redhat-a90d1301117b72eef3c627a04d03834b8c673ed2.tar.gz
PR gdb/921
PR gdb/1646 PR gdb/2175 PR gdb/2176 * Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS. * Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS. (EXTRA_BUILD_FLAGS): Correct typo. Pass CPPFLAGS. (HOST_EXPORTS): Pass CPPFLAGS. (CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define. (LDFLAGS_FOR_TARGET): Initialize from configure script. (EXTRA_TARGET_FLAGS): Set CPPFLAGS. * Makefile.in, configure: Regenerated. * configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET, and CPPFLAGS_FOR_BUILD. libiberty/ * Makefile.in (CPPFLAGS): Define. (FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
Diffstat (limited to 'Makefile.def')
-rw-r--r--Makefile.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.def b/Makefile.def
index 832fc4236e..5abc54f2fa 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -208,6 +208,7 @@ flags_to_pass = { flag= target_alias ; };
flags_to_pass = { flag= BISON ; };
flags_to_pass = { flag= CC_FOR_BUILD ; };
flags_to_pass = { flag= CFLAGS_FOR_BUILD ; };
+flags_to_pass = { flag= CPPFLAGS_FOR_BUILD ; };
flags_to_pass = { flag= CXX_FOR_BUILD ; };
flags_to_pass = { flag= EXPECT ; };
flags_to_pass = { flag= FLEX ; };
@@ -232,6 +233,7 @@ flags_to_pass = { flag= BOOT_ADAFLAGS ; optional=true ; };
flags_to_pass = { flag= BOOT_CFLAGS ; };
flags_to_pass = { flag= BOOT_LDFLAGS ; };
flags_to_pass = { flag= CFLAGS ; };
+flags_to_pass = { flag= CPPFLAGS ; };
flags_to_pass = { flag= CXXFLAGS ; };
flags_to_pass = { flag= LDFLAGS ; };
flags_to_pass = { flag= LIBCFLAGS ; };