[test-suite] r338515 - Make Misc-C++-EH test to compiple with -static
Aleksandar Beserminji via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 1 04:15:21 PDT 2018
Author: abeserminji
Date: Wed Aug 1 04:15:20 2018
New Revision: 338515
URL: http://llvm.org/viewvc/llvm-project?rev=338515&view=rev
Log:
Make Misc-C++-EH test to compiple with -static
Misc-C++-EH test fails when compiling with -static option. Adding
-pthread flag resolves the linker error.
Differential Revision: https://reviews.llvm.org/D49538
Modified:
test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH/Makefile
Modified: test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc-C%2B%2B-EH/Makefile?rev=338515&r1=338514&r2=338515&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH/Makefile (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc-C++-EH/Makefile Wed Aug 1 04:15:20 2018
@@ -1,5 +1,5 @@
LEVEL = ../../..
-LDFLAGS += -lm -lstdc++
+LDFLAGS += -lm -lstdc++ -pthread
LIBS = -lstdc++
REQUIRES_EH_SUPPORT = 1
More information about the llvm-commits
mailing list