Skip to content
Snippets Groups Projects
Commit 236309d4 authored by Ben Gamari's avatar Ben Gamari :turtle:
Browse files

Use system-cxx-std-lib instead of extra-libraries when available

parent 6671279c
No related tags found
1 merge request!31Use system-cxx-std-lib instead of extra-libraries when available
Pipeline #84403 failed
......@@ -31,7 +31,10 @@ library
default-language: Haskell2010
cxx-sources: cbits/stub.cpp, cbits/socket.cpp, cbits/trace.cpp
cxx-options: -std=gnu++11 -pthread -O3 -g3 -DTHREADED_RTS
extra-libraries: stdc++
if impl(ghc > 9.4)
build-builds: system-cxx-std-lib
else
extra-libraries: stdc++
cpp-options: -DTHREADED_RTS
if flag(trace)
cxx-options: -DTRACE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment