diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-10-22 13:35:30 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-10-22 13:35:30 +0000 |
commit | bb52de30f4f880bdb272312829da324cbe774cc1 (patch) | |
tree | 86356606bb924fdc257a69b8669c770809796628 /Makefile.def | |
parent | f407252f29bc4a7563fb79480215977052e52141 (diff) | |
download | gdb-bb52de30f4f880bdb272312829da324cbe774cc1.zip gdb-bb52de30f4f880bdb272312829da324cbe774cc1.tar.gz gdb-bb52de30f4f880bdb272312829da324cbe774cc1.tar.bz2 |
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.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.def b/Makefile.def index 832fc42..5abc54f 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 ; }; |