mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 23:34:12 +03:00
cc-wrapper: fix typo ignoring flags; fixes #10574
This commit is contained in:
parent
64cdc48d1d
commit
cd7a78d7e4
@ -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"
|
export NIX_CFLAGS_COMPILE="$(cat @out@/nix-support/libc-cflags) $NIX_CFLAGS_COMPILE"
|
||||||
fi
|
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"
|
export NIX_CFLAGS_COMPILE="$(cat @out@/nix-support/cc-cflags) $NIX_CFLAGS_COMPILE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ if [ -e @out@/nix-support/libc-ldflags ]; then
|
|||||||
export NIX_LDFLAGS+=" $(cat @out@/nix-support/libc-ldflags)"
|
export NIX_LDFLAGS+=" $(cat @out@/nix-support/libc-ldflags)"
|
||||||
fi
|
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)"
|
export NIX_LDFLAGS+=" $(cat @out@/nix-support/cc-ldflags)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user