3
0
Fork 0
forked from mirrors/nixpkgs

gcc-cross-wrapper: Enable dontStrip in setup hook.

At least for x86_64-w64-mingw32, it doesn't make sense to use the native
strip tool for stripping of symbols. To the contrary it results in
unusable archive files.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2014-02-24 02:22:57 +01:00
parent 60a2fc1fec
commit 92c59d37a7
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -75,6 +75,9 @@ fi
# native compilations.
doCheck=""
# Don't strip foreign binaries with native "strip" tool.
dontStrip=1
# Add the output as an rpath.
if test "$NIX_NO_SELF_RPATH" != "1"; then
export NIX_CROSS_LDFLAGS="-rpath $out/lib -rpath-link $out/lib $NIX_CROSS_LDFLAGS"