./
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. From-SVN: r141292
This commit is contained in:
parent
8eb766fd0a
commit
b36c386c88
18
ChangeLog
18
ChangeLog
@ -1,3 +1,21 @@
|
|||||||
|
2008-10-22 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
2008-10-20 Sebastian Pop <sebastian.pop@amd.com>
|
2008-10-20 Sebastian Pop <sebastian.pop@amd.com>
|
||||||
|
|
||||||
* MAINTAINERS (Graphite Reviewers): Added Daniel Berlin and
|
* MAINTAINERS (Graphite Reviewers): Added Daniel Berlin and
|
||||||
|
@ -218,6 +218,7 @@ flags_to_pass = { flag= target_alias ; };
|
|||||||
flags_to_pass = { flag= BISON ; };
|
flags_to_pass = { flag= BISON ; };
|
||||||
flags_to_pass = { flag= CC_FOR_BUILD ; };
|
flags_to_pass = { flag= CC_FOR_BUILD ; };
|
||||||
flags_to_pass = { flag= CFLAGS_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= CXX_FOR_BUILD ; };
|
||||||
flags_to_pass = { flag= EXPECT ; };
|
flags_to_pass = { flag= EXPECT ; };
|
||||||
flags_to_pass = { flag= FLEX ; };
|
flags_to_pass = { flag= FLEX ; };
|
||||||
@ -242,6 +243,7 @@ flags_to_pass = { flag= BOOT_ADAFLAGS ; optional=true ; };
|
|||||||
flags_to_pass = { flag= BOOT_CFLAGS ; };
|
flags_to_pass = { flag= BOOT_CFLAGS ; };
|
||||||
flags_to_pass = { flag= BOOT_LDFLAGS ; };
|
flags_to_pass = { flag= BOOT_LDFLAGS ; };
|
||||||
flags_to_pass = { flag= CFLAGS ; };
|
flags_to_pass = { flag= CFLAGS ; };
|
||||||
|
flags_to_pass = { flag= CPPFLAGS ; };
|
||||||
flags_to_pass = { flag= CXXFLAGS ; };
|
flags_to_pass = { flag= CXXFLAGS ; };
|
||||||
flags_to_pass = { flag= LDFLAGS ; };
|
flags_to_pass = { flag= LDFLAGS ; };
|
||||||
flags_to_pass = { flag= LIBCFLAGS ; };
|
flags_to_pass = { flag= LIBCFLAGS ; };
|
||||||
|
13
Makefile.in
13
Makefile.in
@ -137,6 +137,7 @@ BUILD_EXPORTS = \
|
|||||||
CC="$(CC_FOR_BUILD)"; export CC; \
|
CC="$(CC_FOR_BUILD)"; export CC; \
|
||||||
CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
|
CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
|
||||||
CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
|
CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
|
||||||
|
CPPFLAGS="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS; \
|
||||||
CXX="$(CXX_FOR_BUILD)"; export CXX; \
|
CXX="$(CXX_FOR_BUILD)"; export CXX; \
|
||||||
CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
|
CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
|
||||||
GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
|
GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
|
||||||
@ -150,9 +151,10 @@ BUILD_EXPORTS = \
|
|||||||
WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
|
WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
|
||||||
|
|
||||||
# These variables must be set on the make command line for directories
|
# These variables must be set on the make command line for directories
|
||||||
# built for the build system to override those in BASE_FLAGS_TO_PASSS.
|
# built for the build system to override those in BASE_FLAGS_TO_PASS.
|
||||||
EXTRA_BUILD_FLAGS = \
|
EXTRA_BUILD_FLAGS = \
|
||||||
CFLAGS="$(CFLAGS_FOR_BUILD)" \
|
CFLAGS="$(CFLAGS_FOR_BUILD)" \
|
||||||
|
CPPFLAGS="$(CPPFLAGS_FOR_BUILD)" \
|
||||||
LDFLAGS="$(LDFLAGS_FOR_BUILD)"
|
LDFLAGS="$(LDFLAGS_FOR_BUILD)"
|
||||||
|
|
||||||
# This is the list of directories to built for the host system.
|
# This is the list of directories to built for the host system.
|
||||||
@ -172,6 +174,7 @@ HOST_EXPORTS = \
|
|||||||
ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
|
ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
|
||||||
CFLAGS="$(CFLAGS)"; export CFLAGS; \
|
CFLAGS="$(CFLAGS)"; export CFLAGS; \
|
||||||
CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
|
CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
|
||||||
|
CPPFLAGS="$(CFLAGS)"; export CPPFLAGS; \
|
||||||
CXX="$(CXX)"; export CXX; \
|
CXX="$(CXX)"; export CXX; \
|
||||||
CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
|
CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
|
||||||
AR="$(AR)"; export AR; \
|
AR="$(AR)"; export AR; \
|
||||||
@ -287,6 +290,7 @@ AR_FOR_BUILD = @AR_FOR_BUILD@
|
|||||||
AS_FOR_BUILD = @AS_FOR_BUILD@
|
AS_FOR_BUILD = @AS_FOR_BUILD@
|
||||||
CC_FOR_BUILD = @CC_FOR_BUILD@
|
CC_FOR_BUILD = @CC_FOR_BUILD@
|
||||||
CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
|
CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
|
||||||
|
CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
|
||||||
CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
|
CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
|
||||||
CXX_FOR_BUILD = @CXX_FOR_BUILD@
|
CXX_FOR_BUILD = @CXX_FOR_BUILD@
|
||||||
DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
|
DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
|
||||||
@ -348,6 +352,7 @@ GNATBIND = @GNATBIND@
|
|||||||
GNATMAKE = @GNATMAKE@
|
GNATMAKE = @GNATMAKE@
|
||||||
|
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
LIBCFLAGS = $(CFLAGS)
|
LIBCFLAGS = $(CFLAGS)
|
||||||
CXXFLAGS = @CXXFLAGS@
|
CXXFLAGS = @CXXFLAGS@
|
||||||
@ -411,13 +416,14 @@ COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
|
|||||||
COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
|
COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
|
||||||
|
|
||||||
CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
|
CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
|
||||||
|
CPPFLAGS_FOR_TARGET = @CPPFLAGS_FOR_TARGET@
|
||||||
CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
|
CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
|
||||||
SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
|
SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
|
||||||
DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
|
DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
|
||||||
|
|
||||||
LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
|
LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
|
||||||
LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
|
LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
|
||||||
LDFLAGS_FOR_TARGET =
|
LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
|
||||||
|
|
||||||
# ------------------------------------
|
# ------------------------------------
|
||||||
# Miscellaneous targets and flag lists
|
# Miscellaneous targets and flag lists
|
||||||
@ -527,6 +533,7 @@ BASE_FLAGS_TO_PASS = \
|
|||||||
"BISON=$(BISON)" \
|
"BISON=$(BISON)" \
|
||||||
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
|
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
|
||||||
"CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
|
"CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
|
||||||
|
"CPPFLAGS_FOR_BUILD=$(CPPFLAGS_FOR_BUILD)" \
|
||||||
"CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
|
"CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
|
||||||
"EXPECT=$(EXPECT)" \
|
"EXPECT=$(EXPECT)" \
|
||||||
"FLEX=$(FLEX)" \
|
"FLEX=$(FLEX)" \
|
||||||
@ -549,6 +556,7 @@ BASE_FLAGS_TO_PASS = \
|
|||||||
"BOOT_CFLAGS=$(BOOT_CFLAGS)" \
|
"BOOT_CFLAGS=$(BOOT_CFLAGS)" \
|
||||||
"BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
|
"BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
|
||||||
"CFLAGS=$(CFLAGS)" \
|
"CFLAGS=$(CFLAGS)" \
|
||||||
|
"CPPFLAGS=$(CPPFLAGS)" \
|
||||||
"CXXFLAGS=$(CXXFLAGS)" \
|
"CXXFLAGS=$(CXXFLAGS)" \
|
||||||
"LDFLAGS=$(LDFLAGS)" \
|
"LDFLAGS=$(LDFLAGS)" \
|
||||||
"LIBCFLAGS=$(LIBCFLAGS)" \
|
"LIBCFLAGS=$(LIBCFLAGS)" \
|
||||||
@ -639,6 +647,7 @@ EXTRA_TARGET_FLAGS = \
|
|||||||
'AS=$(COMPILER_AS_FOR_TARGET)' \
|
'AS=$(COMPILER_AS_FOR_TARGET)' \
|
||||||
'CC=$$(CC_FOR_TARGET)' \
|
'CC=$$(CC_FOR_TARGET)' \
|
||||||
'CFLAGS=$$(CFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
|
'CFLAGS=$$(CFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
|
||||||
|
'CPPFLAGS=$$(CPPFLAGS_FOR_TARGET)' \
|
||||||
'CXX=$$(CXX_FOR_TARGET)' \
|
'CXX=$$(CXX_FOR_TARGET)' \
|
||||||
'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
|
'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
|
||||||
'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
|
'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
|
||||||
|
11
Makefile.tpl
11
Makefile.tpl
@ -140,6 +140,7 @@ BUILD_EXPORTS = \
|
|||||||
CC="$(CC_FOR_BUILD)"; export CC; \
|
CC="$(CC_FOR_BUILD)"; export CC; \
|
||||||
CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
|
CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
|
||||||
CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
|
CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
|
||||||
|
CPPFLAGS="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS; \
|
||||||
CXX="$(CXX_FOR_BUILD)"; export CXX; \
|
CXX="$(CXX_FOR_BUILD)"; export CXX; \
|
||||||
CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
|
CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
|
||||||
GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
|
GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
|
||||||
@ -153,9 +154,10 @@ BUILD_EXPORTS = \
|
|||||||
WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
|
WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
|
||||||
|
|
||||||
# These variables must be set on the make command line for directories
|
# These variables must be set on the make command line for directories
|
||||||
# built for the build system to override those in BASE_FLAGS_TO_PASSS.
|
# built for the build system to override those in BASE_FLAGS_TO_PASS.
|
||||||
EXTRA_BUILD_FLAGS = \
|
EXTRA_BUILD_FLAGS = \
|
||||||
CFLAGS="$(CFLAGS_FOR_BUILD)" \
|
CFLAGS="$(CFLAGS_FOR_BUILD)" \
|
||||||
|
CPPFLAGS="$(CPPFLAGS_FOR_BUILD)" \
|
||||||
LDFLAGS="$(LDFLAGS_FOR_BUILD)"
|
LDFLAGS="$(LDFLAGS_FOR_BUILD)"
|
||||||
|
|
||||||
# This is the list of directories to built for the host system.
|
# This is the list of directories to built for the host system.
|
||||||
@ -175,6 +177,7 @@ HOST_EXPORTS = \
|
|||||||
ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
|
ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
|
||||||
CFLAGS="$(CFLAGS)"; export CFLAGS; \
|
CFLAGS="$(CFLAGS)"; export CFLAGS; \
|
||||||
CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
|
CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
|
||||||
|
CPPFLAGS="$(CFLAGS)"; export CPPFLAGS; \
|
||||||
CXX="$(CXX)"; export CXX; \
|
CXX="$(CXX)"; export CXX; \
|
||||||
CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
|
CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
|
||||||
AR="$(AR)"; export AR; \
|
AR="$(AR)"; export AR; \
|
||||||
@ -290,6 +293,7 @@ AR_FOR_BUILD = @AR_FOR_BUILD@
|
|||||||
AS_FOR_BUILD = @AS_FOR_BUILD@
|
AS_FOR_BUILD = @AS_FOR_BUILD@
|
||||||
CC_FOR_BUILD = @CC_FOR_BUILD@
|
CC_FOR_BUILD = @CC_FOR_BUILD@
|
||||||
CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
|
CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
|
||||||
|
CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
|
||||||
CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
|
CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
|
||||||
CXX_FOR_BUILD = @CXX_FOR_BUILD@
|
CXX_FOR_BUILD = @CXX_FOR_BUILD@
|
||||||
DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
|
DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
|
||||||
@ -351,6 +355,7 @@ GNATBIND = @GNATBIND@
|
|||||||
GNATMAKE = @GNATMAKE@
|
GNATMAKE = @GNATMAKE@
|
||||||
|
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
LIBCFLAGS = $(CFLAGS)
|
LIBCFLAGS = $(CFLAGS)
|
||||||
CXXFLAGS = @CXXFLAGS@
|
CXXFLAGS = @CXXFLAGS@
|
||||||
@ -414,13 +419,14 @@ COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
|
|||||||
COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
|
COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
|
||||||
|
|
||||||
CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
|
CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
|
||||||
|
CPPFLAGS_FOR_TARGET = @CPPFLAGS_FOR_TARGET@
|
||||||
CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
|
CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
|
||||||
SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
|
SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
|
||||||
DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
|
DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
|
||||||
|
|
||||||
LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
|
LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
|
||||||
LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
|
LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
|
||||||
LDFLAGS_FOR_TARGET =
|
LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
|
||||||
|
|
||||||
# ------------------------------------
|
# ------------------------------------
|
||||||
# Miscellaneous targets and flag lists
|
# Miscellaneous targets and flag lists
|
||||||
@ -527,6 +533,7 @@ EXTRA_TARGET_FLAGS = \
|
|||||||
'AS=$(COMPILER_AS_FOR_TARGET)' \
|
'AS=$(COMPILER_AS_FOR_TARGET)' \
|
||||||
'CC=$$(CC_FOR_TARGET)' \
|
'CC=$$(CC_FOR_TARGET)' \
|
||||||
'CFLAGS=$$(CFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
|
'CFLAGS=$$(CFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
|
||||||
|
'CPPFLAGS=$$(CPPFLAGS_FOR_TARGET)' \
|
||||||
'CXX=$$(CXX_FOR_TARGET)' \
|
'CXX=$$(CXX_FOR_TARGET)' \
|
||||||
'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
|
'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
|
||||||
'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
|
'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
|
||||||
|
13
configure
vendored
13
configure
vendored
@ -272,7 +272,7 @@ PACKAGE_STRING=
|
|||||||
PACKAGE_BUGREPORT=
|
PACKAGE_BUGREPORT=
|
||||||
|
|
||||||
ac_unique_file="move-if-change"
|
ac_unique_file="move-if-change"
|
||||||
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TOPLEVEL_CONFIGURE_ARGUMENTS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc ppllibs pplinc clooglibs clooginc stage1_languages SYSROOT_CFLAGS_FOR_TARGET DEBUG_PREFIX_CFLAGS_FOR_TARGET CFLAGS_FOR_TARGET CXXFLAGS_FOR_TARGET RPATH_ENVVAR GCC_SHLIB_SUBDIR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
|
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TOPLEVEL_CONFIGURE_ARGUMENTS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc ppllibs pplinc clooglibs clooginc stage1_languages SYSROOT_CFLAGS_FOR_TARGET DEBUG_PREFIX_CFLAGS_FOR_TARGET CFLAGS_FOR_TARGET CXXFLAGS_FOR_TARGET CPPFLAGS_FOR_TARGET LDFLAGS_FOR_TARGET RPATH_ENVVAR GCC_SHLIB_SUBDIR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CPPFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
|
||||||
ac_subst_files='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
|
ac_subst_files='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
|
||||||
ac_pwd=`pwd`
|
ac_pwd=`pwd`
|
||||||
|
|
||||||
@ -5540,6 +5540,12 @@ if test "x$CXXFLAGS_FOR_TARGET" = x; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Other target tools.
|
||||||
|
CPPFLAGS_FOR_TARGET=${CPPFLAGS_FOR_TARGET-${CPPFLAGS}}
|
||||||
|
|
||||||
|
LDFLAGS_FOR_TARGET=${LDFLAGS_FOR_TARGET-${LDFLAGS}}
|
||||||
|
|
||||||
|
|
||||||
# Handle --with-headers=XXX. If the value is not "yes", the contents of
|
# Handle --with-headers=XXX. If the value is not "yes", the contents of
|
||||||
# the named directory are copied to $(tooldir)/sys-include.
|
# the named directory are copied to $(tooldir)/sys-include.
|
||||||
if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
|
if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
|
||||||
@ -6289,6 +6295,7 @@ esac
|
|||||||
# our build compiler if desired.
|
# our build compiler if desired.
|
||||||
if test x"${build}" = x"${host}" ; then
|
if test x"${build}" = x"${host}" ; then
|
||||||
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
|
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
|
||||||
|
CPPFLAGS_FOR_BUILD=${CPPFLAGS_FOR_BUILD-${CPPFLAGS}}
|
||||||
CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
|
CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
|
||||||
LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
|
LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
|
||||||
fi
|
fi
|
||||||
@ -6367,6 +6374,7 @@ done
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Generate default definitions for YACC, M4, LEX and other programs that run
|
# Generate default definitions for YACC, M4, LEX and other programs that run
|
||||||
# on the build machine. These are used if the Makefile can't locate these
|
# on the build machine. These are used if the Makefile can't locate these
|
||||||
# programs in objdir.
|
# programs in objdir.
|
||||||
@ -13239,6 +13247,8 @@ s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
|
|||||||
s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
|
s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
|
||||||
s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
|
s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
|
||||||
s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
|
s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
|
||||||
|
s,@CPPFLAGS_FOR_TARGET@,$CPPFLAGS_FOR_TARGET,;t t
|
||||||
|
s,@LDFLAGS_FOR_TARGET@,$LDFLAGS_FOR_TARGET,;t t
|
||||||
s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
|
s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
|
||||||
s,@GCC_SHLIB_SUBDIR@,$GCC_SHLIB_SUBDIR,;t t
|
s,@GCC_SHLIB_SUBDIR@,$GCC_SHLIB_SUBDIR,;t t
|
||||||
s,@tooldir@,$tooldir,;t t
|
s,@tooldir@,$tooldir,;t t
|
||||||
@ -13255,6 +13265,7 @@ s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
|
|||||||
s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
|
s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
|
||||||
s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
|
s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
|
||||||
s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
|
s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
|
||||||
|
s,@CPPFLAGS_FOR_BUILD@,$CPPFLAGS_FOR_BUILD,;t t
|
||||||
s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
|
s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
|
||||||
s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
|
s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
|
||||||
s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
|
s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
|
||||||
|
@ -1852,6 +1852,12 @@ if test "x$CXXFLAGS_FOR_TARGET" = x; then
|
|||||||
fi
|
fi
|
||||||
AC_SUBST(CXXFLAGS_FOR_TARGET)
|
AC_SUBST(CXXFLAGS_FOR_TARGET)
|
||||||
|
|
||||||
|
# Other target tools.
|
||||||
|
CPPFLAGS_FOR_TARGET=${CPPFLAGS_FOR_TARGET-${CPPFLAGS}}
|
||||||
|
AC_SUBST(CPPFLAGS_FOR_TARGET)
|
||||||
|
LDFLAGS_FOR_TARGET=${LDFLAGS_FOR_TARGET-${LDFLAGS}}
|
||||||
|
AC_SUBST(LDFLAGS_FOR_TARGET)
|
||||||
|
|
||||||
# Handle --with-headers=XXX. If the value is not "yes", the contents of
|
# Handle --with-headers=XXX. If the value is not "yes", the contents of
|
||||||
# the named directory are copied to $(tooldir)/sys-include.
|
# the named directory are copied to $(tooldir)/sys-include.
|
||||||
if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
|
if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
|
||||||
@ -2592,6 +2598,7 @@ esac
|
|||||||
# our build compiler if desired.
|
# our build compiler if desired.
|
||||||
if test x"${build}" = x"${host}" ; then
|
if test x"${build}" = x"${host}" ; then
|
||||||
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
|
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
|
||||||
|
CPPFLAGS_FOR_BUILD=${CPPFLAGS_FOR_BUILD-${CPPFLAGS}}
|
||||||
CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
|
CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
|
||||||
LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
|
LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
|
||||||
fi
|
fi
|
||||||
@ -2657,6 +2664,7 @@ AC_SUBST(AR_FOR_BUILD)
|
|||||||
AC_SUBST(AS_FOR_BUILD)
|
AC_SUBST(AS_FOR_BUILD)
|
||||||
AC_SUBST(CC_FOR_BUILD)
|
AC_SUBST(CC_FOR_BUILD)
|
||||||
AC_SUBST(CFLAGS_FOR_BUILD)
|
AC_SUBST(CFLAGS_FOR_BUILD)
|
||||||
|
AC_SUBST(CPPFLAGS_FOR_BUILD)
|
||||||
AC_SUBST(CXXFLAGS_FOR_BUILD)
|
AC_SUBST(CXXFLAGS_FOR_BUILD)
|
||||||
AC_SUBST(CXX_FOR_BUILD)
|
AC_SUBST(CXX_FOR_BUILD)
|
||||||
AC_SUBST(DLLTOOL_FOR_BUILD)
|
AC_SUBST(DLLTOOL_FOR_BUILD)
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2008-10-22 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* Makefile.in (CPPFLAGS): Define.
|
||||||
|
(FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
|
||||||
|
|
||||||
2008-10-15 Paolo Bonzini <bonzini@gnu.org>
|
2008-10-15 Paolo Bonzini <bonzini@gnu.org>
|
||||||
|
|
||||||
PR bootstrap/37137
|
PR bootstrap/37137
|
||||||
|
@ -55,6 +55,7 @@ AR_FLAGS = rc
|
|||||||
|
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
MAKEINFO = @MAKEINFO@
|
MAKEINFO = @MAKEINFO@
|
||||||
PERL = @PERL@
|
PERL = @PERL@
|
||||||
@ -78,6 +79,7 @@ FLAGS_TO_PASS = \
|
|||||||
"AR_FLAGS=$(AR_FLAGS)" \
|
"AR_FLAGS=$(AR_FLAGS)" \
|
||||||
"CC=$(CC)" \
|
"CC=$(CC)" \
|
||||||
"CFLAGS=$(CFLAGS)" \
|
"CFLAGS=$(CFLAGS)" \
|
||||||
|
"CPPFLAGS=$(CPPFLAGS)" \
|
||||||
"DESTDIR=$(DESTDIR)" \
|
"DESTDIR=$(DESTDIR)" \
|
||||||
"EXTRA_OFILES=$(EXTRA_OFILES)" \
|
"EXTRA_OFILES=$(EXTRA_OFILES)" \
|
||||||
"HDEFINES=$(HDEFINES)" \
|
"HDEFINES=$(HDEFINES)" \
|
||||||
@ -109,7 +111,7 @@ installcheck: installcheck-subdir
|
|||||||
|
|
||||||
INCDIR=$(srcdir)/$(MULTISRCTOP)../include
|
INCDIR=$(srcdir)/$(MULTISRCTOP)../include
|
||||||
|
|
||||||
COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
|
COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
|
||||||
|
|
||||||
# Just to make sure we don't use a built-in rule with VPATH
|
# Just to make sure we don't use a built-in rule with VPATH
|
||||||
.c.o:
|
.c.o:
|
||||||
|
Loading…
Reference in New Issue
Block a user