diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2010-05-02 11:58:44 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2010-05-02 11:58:44 +0000 |
commit | 219a4def2954e3bb6207d46dc5be5fa6755c1a46 (patch) | |
tree | 8bb5404f785131e749a42ab4950f2ef2e8ce5629 /dev-java/jffi/files | |
parent | keyword ~x86-fbsd (diff) | |
download | gentoo-2-219a4def2954e3bb6207d46dc5be5fa6755c1a46.tar.gz gentoo-2-219a4def2954e3bb6207d46dc5be5fa6755c1a46.tar.bz2 gentoo-2-219a4def2954e3bb6207d46dc5be5fa6755c1a46.zip |
Don't let the build system specify march and mtune so gcc 3.4 can be used. Fixes bug #304979.
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'dev-java/jffi/files')
-rw-r--r-- | dev-java/jffi/files/1.0.0-gcc-3.4.patch | 14 |
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) |