summaryrefslogtreecommitdiff
path: root/emulators/simh
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-07-18 23:46:01 +0000
committermarino <marino@pkgsrc.org>2012-07-18 23:46:01 +0000
commit78b6052c65192b97510dd4af14c04d528688050b (patch)
tree4bb87a339c7e2d98debc11ada58ae4935b8258ec /emulators/simh
parentf479ace03ab93e45a4ec9e05c084333a5b3bf87d (diff)
downloadpkgsrc-78b6052c65192b97510dd4af14c04d528688050b.tar.gz
emulators/simh: Prevent -lto switch on DragonFly
This package starting failing this week. It was due to an change in the system binutils which turned on link time optimization support. This was intended for external compilers. The package picked up that the linker was capable of supporting -flto, but then just assumed the compiler also was! "4.4.7" was added to the list of compilers to exclude. Earlier versions are not necessary because the -flto switch would be suppressed anyway due to binutils not supporting it.
Diffstat (limited to 'emulators/simh')
-rw-r--r--emulators/simh/distinfo4
-rw-r--r--emulators/simh/patches/patch-aa5
2 files changed, 5 insertions, 4 deletions
diff --git a/emulators/simh/distinfo b/emulators/simh/distinfo
index af2fd150dd0..f4b3dae299d 100644
--- a/emulators/simh/distinfo
+++ b/emulators/simh/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.20 2012/07/16 00:14:33 abs Exp $
+$NetBSD: distinfo,v 1.21 2012/07/18 23:46:01 marino Exp $
SHA1 (simhv39-0.zip) = 1de3938f0dcb51d55b0e53aea8ae9769ccc57bdb
RMD160 (simhv39-0.zip) = a464e7d1fc6d58dd23a3ef623c3c018d5d60b050
Size (simhv39-0.zip) = 3103657 bytes
-SHA1 (patch-aa) = 198ec84295792523d52c8713aa144c4ece2f0fbd
+SHA1 (patch-aa) = 9fb538b1dd328eaf4dd889b407dfcc7f2c91c3e6
SHA1 (patch-ab) = aa6f7fa5246b469ec7de28182922d2e6e18ce0de
SHA1 (patch-ac) = 9d12df82e971b057be33d4cf54b1539597ae94f3
SHA1 (patch-sim__timer.h) = 1ee43b9a6586cdeb0f4dd22321957de8d30d3376
diff --git a/emulators/simh/patches/patch-aa b/emulators/simh/patches/patch-aa
index ddfccdb5d12..5a81782c562 100644
--- a/emulators/simh/patches/patch-aa
+++ b/emulators/simh/patches/patch-aa
@@ -1,6 +1,7 @@
-$NetBSD: patch-aa,v 1.11 2012/06/16 14:58:35 abs Exp $
+$NetBSD: patch-aa,v 1.12 2012/07/18 23:46:02 marino Exp $
Exclude -flto for gcc 4.1.3 (used in NetBSD/vax 6)
+Exclude -flto for gcc 4.4.7 (Used in DragonFly 2.13 - 3.1)
Make -O2 conditional so can be overridden by environment
--- makefile.orig 2012-06-13 16:46:32.000000000 +0000
@@ -10,7 +11,7 @@ Make -O2 conditional so can be overridden by environment
endif
GCC_VERSION = $(shell $(GCC) -v /dev/null 2>&1 | grep 'gcc version' | awk '{ print $$3 }')
- LTO_EXCLUDE_VERSIONS =
-+ LTO_EXCLUDE_VERSIONS = 4.1.3
++ LTO_EXCLUDE_VERSIONS = 4.1.3 4.4.7
PCAPLIB = pcap
ifeq (agcc,$(findstring agcc,$(GCC))) # Android target build?
OS_CCDEFS = -D_GNU_SOURCE