git.iko.soy/typeable/nixpkgs
on master help sign in
zsnes: remove $STRIP from compiler options

In ab70693 @viric says zsnes works better without stripping. But the build expression kept the $STRIP in the compiler options, so if it is set to something it will show up in there. For example: g++ -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__ -I/nix/store/04qgmdpmalgsy92zgs2z896jx073hcn2-SDL-1.2.15-dev/include/SDL -I/nix/store/04qgmdpmalgsy92zgs2z896jx073hcn2-SDL-1.2.15-dev/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DNCURSES -D__OPENGL__ -march=native -O3 -fomit-frame-pointer -fprefetch-loop-arrays -fforce-addr strip -D__RELEASE__ -fno-rtti -o tools/fileutil.o -c tools/fileutil.cpp g++: error: strip: No such file or directory This commit removes that reference to $STRIP too.

commit0b21848e772d82f822a2050205ce00475517be25 authorRyan Mulligan <ryan@ryantm.com> dateSat 5 Aug 2017, 07:39 (9 years ago) parentacf05ea
1 file changed+1
pkgs/misc/emulators/zsnes/default.nix+1
pkgs/misc/emulators/zsnes/default.nix+1
@@ -34,6 +34,7 @@ in stdenv.mkDerivation {
3434 preConfigure = ''
3535 cd src
3636 sed -i "/^STRIP/d" configure
37+ sed -i "/\$STRIP/d" configure
3738 '';
3839
3940 configureFlags = [ "--enable-release" ];