From 0b21848e772d82f822a2050205ce00475517be25 Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Sat, 5 Aug 2017 07:39:48 -0700 Subject: 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. --- pkgs/misc/emulators/zsnes/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/misc/emulators') 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" ]; -- cgit 1.4.1