summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-01-12 22:03:01 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-01-12 22:03:01 +0000
commit91e94195f0f4702ac524b26303fdefe2fff74b5f (patch)
tree029a7f0683cfb4334d80697c1f30de77da772582 /app-emulation/simh/files
parentBump to 2.0.17. Translation updates. (diff)
downloadgentoo-2-91e94195f0f4702ac524b26303fdefe2fff74b5f.tar.gz
gentoo-2-91e94195f0f4702ac524b26303fdefe2fff74b5f.tar.bz2
gentoo-2-91e94195f0f4702ac524b26303fdefe2fff74b5f.zip
Fix patch to unpack and compile.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28-gentoo x86_64)
Diffstat (limited to 'app-emulation/simh/files')
-rw-r--r--app-emulation/simh/files/simh-3.7.0-asneeded.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-emulation/simh/files/simh-3.7.0-asneeded.patch b/app-emulation/simh/files/simh-3.7.0-asneeded.patch
index fd64bbbfdff5..804606a55f26 100644
--- a/app-emulation/simh/files/simh-3.7.0-asneeded.patch
+++ b/app-emulation/simh/files/simh-3.7.0-asneeded.patch
@@ -4,8 +4,8 @@
else
OS_CCDEFS = -D_GNU_SOURCE
endif
--CC = x86_64-pc-linux-gnu-gcc -std=c99 -march=native -Os -pipe -U__STRICT_ANSI__ -lm -lrt $(OS_CCDEFS) -I .
-+CC = x86_64-pc-linux-gnu-gcc -std=c99 -march=native -Os -pipe -U__STRICT_ANSI__ $(OS_CCDEFS) -I .
+-CC = gcc -std=c99 -O2 -U__STRICT_ANSI__ -g -lm -lrt $(OS_CCDEFS) -I .
++CC := $(CC) -std=c99 -U__STRICT_ANSI__ $(OS_CCDEFS) -I. $(CFLAGS)
+LIBS = -lm -lrt
ifeq ($(USE_NETWORK),)
else