* 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:
Eelco Dolstra 2005-02-23 22:01:54 +00:00
parent 8d24f2179f
commit 12c0a6351d

View File

@ -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.