PR testsuite/42843
* Makefile.in (PLUGINCC): Define in terms of @CC@ / @CXX@
(PLUGINCFLAGS): Define in terms of @CFLAGS@ / @CXXFLAGS@
From-SVN: r163833
+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.
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@