mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 20:21:14 +00:00
* Use --strip-debug', not
--strip-all', so that we can at least get
proper backtraces. Otherwise debugging of Nix binaries is very hard. svn path=/nixpkgs/trunk/; revision=2292
This commit is contained in:
parent
8d24f2179f
commit
12c0a6351d
|
@ -127,8 +127,8 @@ fi
|
|||
# Strip debug information by default.
|
||||
if test -z "$NIX_STRIP_DEBUG"; then
|
||||
export NIX_STRIP_DEBUG=1
|
||||
export NIX_CFLAGS_STRIP="-g0 -Wl,-s"
|
||||
fi
|
||||
export NIX_CFLAGS_STRIP="-g0 -Wl,--strip-debug"
|
||||
fi
|
||||
|
||||
|
||||
# Do we know where the store is? This is required for purity checking.
|
||||
|
|
Loading…
Reference in a new issue