OSDN Git Service

PR testsuite/42843
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Sep 2010 16:02:37 +0000 (16:02 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Sep 2010 16:02:37 +0000 (16:02 +0000)
* Makefile.in (PLUGINCC): Define in terms of @CC@ / @CXX@
(PLUGINCFLAGS): Define in terms of @CFLAGS@ / @CXXFLAGS@

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163833 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/Makefile.in

index 27e337a..af1c53e 100644 (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.
index 3a34064..acffb60 100644 (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@