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.
This commit is contained in:
parent
acf05ea777
commit
0b21848e77
|
@ -34,6 +34,7 @@ in stdenv.mkDerivation {
|
|||
preConfigure = ''
|
||||
cd src
|
||||
sed -i "/^STRIP/d" configure
|
||||
sed -i "/\$STRIP/d" configure
|
||||
'';
|
||||
|
||||
configureFlags = [ "--enable-release" ];
|
||||
|
|
Loading…
Reference in New Issue