diff options
author | Ryan Mulligan <ryan@ryantm.com> | 2017-08-05 07:39:48 -0700 |
---|---|---|
committer | Ryan Mulligan <ryan@ryantm.com> | 2017-08-05 07:39:48 -0700 |
commit | 0b21848e772d82f822a2050205ce00475517be25 (patch) | |
tree | 731f7e6b1f213e9b482b910a4910e25ed2aa175a /pkgs/misc/emulators | |
parent | acf05ea777a4ac57de1f64bc437c64c3f8ca7284 (diff) | |
download | nixlib-0b21848e772d82f822a2050205ce00475517be25.tar nixlib-0b21848e772d82f822a2050205ce00475517be25.tar.gz nixlib-0b21848e772d82f822a2050205ce00475517be25.tar.bz2 nixlib-0b21848e772d82f822a2050205ce00475517be25.tar.lz nixlib-0b21848e772d82f822a2050205ce00475517be25.tar.xz nixlib-0b21848e772d82f822a2050205ce00475517be25.tar.zst nixlib-0b21848e772d82f822a2050205ce00475517be25.zip |
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.
Diffstat (limited to 'pkgs/misc/emulators')
-rw-r--r-- | pkgs/misc/emulators/zsnes/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/misc/emulators/zsnes/default.nix b/pkgs/misc/emulators/zsnes/default.nix index ae94c3de41b2..6f3957379e53 100644 --- a/pkgs/misc/emulators/zsnes/default.nix +++ b/pkgs/misc/emulators/zsnes/default.nix @@ -34,6 +34,7 @@ in stdenv.mkDerivation { preConfigure = '' cd src sed -i "/^STRIP/d" configure + sed -i "/\$STRIP/d" configure ''; configureFlags = [ "--enable-release" ]; |