summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/nsis/files/nsis-2.23-32bit.patch')
-rw-r--r--dev-util/nsis/files/nsis-2.23-32bit.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-util/nsis/files/nsis-2.23-32bit.patch b/dev-util/nsis/files/nsis-2.23-32bit.patch
new file mode 100644
index 000000000000..24e942b7347f
--- /dev/null
+++ b/dev-util/nsis/files/nsis-2.23-32bit.patch
@@ -0,0 +1,12 @@
+diff -Nru nsis-2.23-src.orig/SCons/Config/gnu nsis-2.23-src/SCons/Config/gnu
+--- nsis-2.23-src.orig/SCons/Config/gnu 2007-01-27 14:20:12.000000000 +0200
++++ nsis-2.23-src/SCons/Config/gnu 2007-01-27 14:21:56.000000000 +0200
+@@ -56,6 +56,8 @@
+
+ if defenv['DEBUG']:
+ defenv.Append(CCFLAGS = '-g')
++defenv.Append(CCFLAGS = '-m32') # 32-bit host
++defenv.Append(LINKFLAGS = '-m32') # 32-bit host
+
+ ### stub environment
+