re PR testsuite/42843 (--enable-build-with-cxx plugin tests fail)

PR testsuite/42843
	* Makefile.in (PLUGINCC): Define in terms of @CC@ / @CXX@
	(PLUGINCFLAGS): Define in terms of @CFLAGS@ / @CXXFLAGS@

From-SVN: r163833
This commit is contained in:
Joern Rennecke 2010-09-03 16:02:37 +00:00 committed by Rainer Orth
parent 89039a6b5e
commit de3f621b74
2 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2010-09-03 Joern Rennecke <joern.rennecke@embecosm.com>
PR testsuite/42843
* Makefile.in (PLUGINCC): Define in terms of @CC@ / @CXX@
(PLUGINCFLAGS): Define in terms of @CFLAGS@ / @CXXFLAGS@
2010-09-03 Marcin Baczynski <marbacz@gmail.com>
* dwarf2out.c (file scope): Remove #if0'd code.

View File

@ -330,11 +330,14 @@ enable_lto = @enable_lto@
LTO_BINARY_READER = @LTO_BINARY_READER@
LTO_USE_LIBELF = @LTO_USE_LIBELF@
# Compiler needed for plugin support
PLUGINCC = $(COMPILER)
# Flags needed for plugin support
PLUGINCFLAGS = $(COMPILER_FLAGS)
# Compiler and flags needed for plugin support
ifneq ($(ENABLE_BUILD_WITH_CXX),yes)
PLUGINCC = @CC@
PLUGINCFLAGS = @CFLAGS@
else
PLUGINCC = @CXX@
PLUGINCFLAGS = @CXXFLAGS@
endif
# Libs and linker options needed for plugin support
PLUGINLIBS = @pluginlibs@