[test-suite] r176239 - When using -stdlib=libstdc++, it needs to be specified for the link as well.
Bob Wilson
bob.wilson at apple.com
Thu Feb 28 00:19:01 PST 2013
Author: bwilson
Date: Thu Feb 28 02:19:01 2013
New Revision: 176239
URL: http://llvm.org/viewvc/llvm-project?rev=176239&view=rev
Log:
When using -stdlib=libstdc++, it needs to be specified for the link as well.
Modified:
test-suite/trunk/External/SPEC/CFP2006/447.dealII/Makefile
test-suite/trunk/External/SPEC/CINT2000/252.eon/Makefile
Modified: test-suite/trunk/External/SPEC/CFP2006/447.dealII/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CFP2006/447.dealII/Makefile?rev=176239&r1=176238&r2=176239&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CFP2006/447.dealII/Makefile (original)
+++ test-suite/trunk/External/SPEC/CFP2006/447.dealII/Makefile Thu Feb 28 02:19:01 2013
@@ -20,7 +20,7 @@ CXXFLAGS += -stdlib=libstdc++
STDOUT_FILENAME := log
-LDFLAGS = -lstdc++ -lm
+LDFLAGS = -stdlib=libstdc++ -lm
LIBS = -lm
include ../../Makefile.spec2006
Modified: test-suite/trunk/External/SPEC/CINT2000/252.eon/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2000/252.eon/Makefile?rev=176239&r1=176238&r2=176239&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2000/252.eon/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT2000/252.eon/Makefile Thu Feb 28 02:19:01 2013
@@ -59,7 +59,7 @@ Source = $(addprefix $(SPEC_BENCH_DIR)/s
# Yes, we know this is an old crufty C++ benchmark. Don't tell us about it GCC!
CXXFLAGS += -fno-exceptions -Wno-deprecated -Wno-non-template-friend -fpermissive -stdlib=libstdc++
-LDFLAGS = -lstdc++ -lm
+LDFLAGS = -stdlib=libstdc++ -lm
LIBS = -lm
include ../../Makefile.spec2000
More information about the llvm-commits
mailing list