summaryrefslogtreecommitdiff
path: root/testsuite/tests
diff options
context:
space:
mode:
authorGreg Steuck <greg@nest.cx>2021-12-18 14:51:02 -0800
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-12-21 01:47:17 -0500
commit9bc5ab64de16f786ede145755d52f5452af453f9 (patch)
tree80fcc14ef9eac30d236e19225e4b377ad32c69a7 /testsuite/tests
parent9728d6c2b62f38f79c8833b1819200985fe173dc (diff)
downloadhaskell-9bc5ab64de16f786ede145755d52f5452af453f9.tar.gz
Use libc++ instead of libstdc++ on openbsd in addition to freebsd
This is not entirely accurate because some openbsd architectures use gcc. Yet we don't have ghc ported to them and thus the approximation is good enough. Fixes ghcilink006 test
Diffstat (limited to 'testsuite/tests')
-rw-r--r--testsuite/tests/ghci/linking/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/linking/Makefile b/testsuite/tests/ghci/linking/Makefile
index f9553b5594..78d13c6e8a 100644
--- a/testsuite/tests/ghci/linking/Makefile
+++ b/testsuite/tests/ghci/linking/Makefile
@@ -24,7 +24,7 @@ else
DLL = lib$1.so
endif
-ifeq "$(FREEBSD)" "YES"
+ifeq "$(LIBCXX_PLATFORM)" "YES"
LIBCXX=c++
else
LIBCXX=stdc++