aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/networking/browsers/firefox
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2020-06-22 10:38:34 -0400
committerGitHub <noreply@github.com>2020-06-22 10:38:34 -0400
commitfa54dd346fe5e73d877f2068addf6372608c820b (patch)
tree13c776cfa2e195ef76b716b147ca643854bef619 /pkgs/applications/networking/browsers/firefox
parentc8c09b7dda6061bb11c6f893c0be04db83461765 (diff)
parentf3f7612a409e4ebbec634ab7f20e094f206d396a (diff)
Merge pull request #85189 from Ericson2314/cxx-wrapper-debt
C++ compilers: Be sane with standard libraries
Diffstat (limited to 'pkgs/applications/networking/browsers/firefox')
-rw-r--r--pkgs/applications/networking/browsers/firefox/common.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix
index 0eda0739eab1..98f72cf803db 100644
--- a/pkgs/applications/networking/browsers/firefox/common.nix
+++ b/pkgs/applications/networking/browsers/firefox/common.nix
@@ -177,7 +177,7 @@ stdenv.mkDerivation ({
BINDGEN_CFLAGS="$(< ${stdenv.cc}/nix-support/libc-cflags) \
$(< ${stdenv.cc}/nix-support/cc-cflags) \
- ${stdenv.cc.default_cxx_stdlib_compile} \
+ $(< ${stdenv.cc}/nix-support/libcxx-cxxflags) \
${lib.optionalString stdenv.cc.isClang "-idirafter ${stdenv.cc.cc}/lib/clang/${lib.getVersion stdenv.cc.cc}/include"} \
${lib.optionalString stdenv.cc.isGNU "-isystem ${stdenv.cc.cc}/include/c++/${lib.getVersion stdenv.cc.cc} -isystem ${stdenv.cc.cc}/include/c++/${lib.getVersion stdenv.cc.cc}/${stdenv.hostPlatform.config}"} \
$NIX_CFLAGS_COMPILE"