summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jffi/files/1.0.0-gcc-3.4.patch')
-rw-r--r--dev-java/jffi/files/1.0.0-gcc-3.4.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-java/jffi/files/1.0.0-gcc-3.4.patch b/dev-java/jffi/files/1.0.0-gcc-3.4.patch
new file mode 100644
index 000000000000..fc2bd5cae10a
--- /dev/null
+++ b/dev-java/jffi/files/1.0.0-gcc-3.4.patch
@@ -0,0 +1,14 @@
+diff --git a/jni/GNUmakefile b/jni/GNUmakefile
+index 7a027af..eaba319 100755
+--- a/jni/GNUmakefile
++++ b/jni/GNUmakefile
+@@ -188,9 +188,6 @@ endif
+
+ ifeq ($(CPU), i386)
+ MODEL = 32
+- ifeq ($(findstring $(OS), openbsd darwin mingw32 win32),)
+- CFLAGS += -march=i586 -mtune=generic
+- endif
+ endif
+
+ ifeq ($(CPU), amd64)