mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
e575d739da
Fixes a build failure in gawk with Xcode 6.1 on 10.9.
10 lines
453 B
Nix
10 lines
453 B
Nix
''
|
|
dontFixLibtool=1
|
|
stripAllFlags=" " # the Darwin "strip" command doesn't know "-s"
|
|
xargsFlags=" "
|
|
export MACOSX_DEPLOYMENT_TARGET=10.9
|
|
export SDKROOT=$(/usr/bin/xcrun --sdk macosx10.9 --show-sdk-path 2> /dev/null || true)
|
|
export NIX_CFLAGS_COMPILE+=" --sysroot=/var/empty -idirafter $SDKROOT/usr/include -F$SDKROOT/System/Library/Frameworks -Wno-multichar -Wno-deprecated-declarations"
|
|
export NIX_LDFLAGS_AFTER+=" -L$SDKROOT/usr/lib"
|
|
''
|