summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-03 04:55:31 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-03 04:55:31 +0000
commit01d6e1a8c80ee13860a592ced2d52be96bbf9737 (patch)
treee2fb8ca481318d43e11a73bca5659509851a84a2 /app-emulation/wine/files
parentOld versions of geramik are unmaintainable too (diff)
downloadhistorical-01d6e1a8c80ee13860a592ced2d52be96bbf9737.tar.gz
historical-01d6e1a8c80ee13860a592ced2d52be96bbf9737.tar.bz2
historical-01d6e1a8c80ee13860a592ced2d52be96bbf9737.zip
Make sure winegcc passes -m32/-m64 along to the linker #100180.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'app-emulation/wine/files')
-rw-r--r--app-emulation/wine/files/wine-20050725-gcc-32bit.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-emulation/wine/files/wine-20050725-gcc-32bit.patch b/app-emulation/wine/files/wine-20050725-gcc-32bit.patch
new file mode 100644
index 000000000000..ae3ed1726be4
--- /dev/null
+++ b/app-emulation/wine/files/wine-20050725-gcc-32bit.patch
@@ -0,0 +1,11 @@
+--- tools/winegcc/winegcc.c
++++ tools/winegcc/winegcc.c
+@@ -863,6 +863,8 @@
+ opts.gui_app = 1;
+ else if (strcmp("-mconsole", argv[i]) == 0)
+ opts.gui_app = 0;
++ else if (strcmp("-m32", argv[i]) == 0 || strcmp("-m64", argv[i]) == 0)
++ raw_linker_arg = 1;
+ break;
+ case 'n':
+ if (strcmp("-nostdinc", argv[i]) == 0)