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 branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,10 @@ library ...@@ -31,7 +31,10 @@ library
default-language: Haskell2010 default-language: Haskell2010
cxx-sources: cbits/stub.cpp, cbits/socket.cpp, cbits/trace.cpp cxx-sources: cbits/stub.cpp, cbits/socket.cpp, cbits/trace.cpp
cxx-options: -std=gnu++11 -pthread -O3 -g3 -DTHREADED_RTS 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 cpp-options: -DTHREADED_RTS
if flag(trace) if flag(trace)
cxx-options: -DTRACE 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