PR gdb/921
authorDaniel Jacobowitz <drow@false.org>
Wed, 22 Oct 2008 13:35:30 +0000 (13:35 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 22 Oct 2008 13:35:30 +0000 (13:35 +0000)
commitbb52de30f4f880bdb272312829da324cbe774cc1
tree86356606bb924fdc257a69b8669c770809796628
parentf407252f29bc4a7563fb79480215977052e52141
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.
ChangeLog
Makefile.def
Makefile.in
Makefile.tpl
configure
configure.ac
libiberty/ChangeLog
libiberty/Makefile.in