rpms/mingw32-nsis/devel nsis-2.43-rpm-opt.patch,1.1,1.2
Kevin Kofler
kkofler at fedoraproject.org
Wed Feb 25 12:51:59 UTC 2009
Author: kkofler
Update of /cvs/pkgs/rpms/mingw32-nsis/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24133/devel
Modified Files:
nsis-2.43-rpm-opt.patch
Log Message:
Fix rpm-opt patch (hopefully).
nsis-2.43-rpm-opt.patch:
Index: nsis-2.43-rpm-opt.patch
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-nsis/devel/nsis-2.43-rpm-opt.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- nsis-2.43-rpm-opt.patch 25 Feb 2009 07:52:43 -0000 1.1
+++ nsis-2.43-rpm-opt.patch 25 Feb 2009 12:51:58 -0000 1.2
@@ -1,6 +1,6 @@
diff -ur nsis-2.43-src-debian-debug-opt/SCons/Config/gnu nsis-2.43-src-rpm-opt/SCons/Config/gnu
--- nsis-2.43-src-debian-debug-opt/SCons/Config/gnu 2009-02-25 08:35:01.000000000 +0100
-+++ nsis-2.43-src-rpm-opt/SCons/Config/gnu 2009-02-25 08:50:15.000000000 +0100
++++ nsis-2.43-src-rpm-opt/SCons/Config/gnu 2009-02-25 13:45:40.000000000 +0100
@@ -1,5 +1,7 @@
print "Using GNU tools configuration"
@@ -14,7 +14,7 @@
makensis_env.Append(CCFLAGS = '-g') # debugging
if not defenv['DEBUG'] and defenv['OPT']:
- makensis_env.Append(CCFLAGS = ['-O2']) # optimize
-+ makensis_env.Append(CCFLAGS = [os.getenv('RPM_OPT_FLAGS')]) # optimize
++ makensis_env.Append(CCFLAGS = os.getenv('RPM_OPT_FLAGS')) # optimize
makensis_env.Append(CFLAGS = ['-Wall']) # all warnings
makensis_env.Append(CXXFLAGS = ['-Wno-non-virtual-dtor']) # ignore virtual dtor warnings
makensis_env.Append(CXXFLAGS = ['-Wall']) # all warnings
@@ -23,7 +23,7 @@
cp_util_env.Append(CCFLAGS = '-g') # debugging
if not defenv['DEBUG'] and defenv['OPT']:
- cp_util_env.Append(CCFLAGS = ['-O2']) # optimize
-+ cp_util_env.Append(CCFLAGS = [os.getenv('RPM_OPT_FLAGS')]) # optimize
++ cp_util_env.Append(CCFLAGS = os.getenv('RPM_OPT_FLAGS')) # optimize
cp_util_env.Append(CCFLAGS = ['-Wall']) # all warnings
cp_util_env.Append(CCFLAGS = ['-fno-strict-aliasing']) # not safe for strict aliasing
More information about the fedora-extras-commits
mailing list