about summary refs log tree commit diff
path: root/pkgs/build-support/cc-wrapper
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-10-25 11:30:53 +0100
committerVladimír Čunát <vcunat@gmail.com>2015-10-28 10:15:54 +0100
commitcd7a78d7e421d2623f186ad1bdf9c220e5a055d4 (patch)
tree5ba2b5b722527a02d89852384fadcaa7b939f15c /pkgs/build-support/cc-wrapper
parent64cdc48d1d603d85b9987a9087a83b2be88244cb (diff)
downloadnixlib-cd7a78d7e421d2623f186ad1bdf9c220e5a055d4.tar
nixlib-cd7a78d7e421d2623f186ad1bdf9c220e5a055d4.tar.gz
nixlib-cd7a78d7e421d2623f186ad1bdf9c220e5a055d4.tar.bz2
nixlib-cd7a78d7e421d2623f186ad1bdf9c220e5a055d4.tar.lz
nixlib-cd7a78d7e421d2623f186ad1bdf9c220e5a055d4.tar.xz
nixlib-cd7a78d7e421d2623f186ad1bdf9c220e5a055d4.tar.zst
nixlib-cd7a78d7e421d2623f186ad1bdf9c220e5a055d4.zip
cc-wrapper: fix typo ignoring flags; fixes #10574
Diffstat (limited to 'pkgs/build-support/cc-wrapper')
-rw-r--r--pkgs/build-support/cc-wrapper/add-flags4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/cc-wrapper/add-flags b/pkgs/build-support/cc-wrapper/add-flags
index d48361539047..59d9614fd21f 100644
--- a/pkgs/build-support/cc-wrapper/add-flags
+++ b/pkgs/build-support/cc-wrapper/add-flags
@@ -5,7 +5,7 @@ if [ -e @out@/nix-support/libc-cflags ]; then
     export NIX_CFLAGS_COMPILE="$(cat @out@/nix-support/libc-cflags) $NIX_CFLAGS_COMPILE"
 fi
 
-if [ -e @out@/nix-support/gcc-cflags ]; then
+if [ -e @out@/nix-support/cc-cflags ]; then
     export NIX_CFLAGS_COMPILE="$(cat @out@/nix-support/cc-cflags) $NIX_CFLAGS_COMPILE"
 fi
 
@@ -17,7 +17,7 @@ if [ -e @out@/nix-support/libc-ldflags ]; then
     export NIX_LDFLAGS+=" $(cat @out@/nix-support/libc-ldflags)"
 fi
 
-if [ -e @out@/nix-support/gcc-ldflags ]; then
+if [ -e @out@/nix-support/cc-ldflags ]; then
     export NIX_LDFLAGS+=" $(cat @out@/nix-support/cc-ldflags)"
 fi