summaryrefslogtreecommitdiff
path: root/emulators/hercules/patches
diff options
context:
space:
mode:
authoragc <agc>2001-02-21 09:19:23 +0000
committeragc <agc>2001-02-21 09:19:23 +0000
commit77cd04968f39fd0b3e973a6f3ddace4af21baac8 (patch)
tree13a98300b6cd98133746cbd19e80ab0a6822d619 /emulators/hercules/patches
parent2942e9395a72274ed100aad958499576a7c1fe8c (diff)
downloadpkgsrc-77cd04968f39fd0b3e973a6f3ddace4af21baac8.tar.gz
Remove -malign-double from the makefile - it doesn't work as expected
on NetBSD, since our library doesn't conform to this restriction. From ws@tools.de (Wolfgang Solfrank)
Diffstat (limited to 'emulators/hercules/patches')
-rw-r--r--emulators/hercules/patches/patch-aa19
1 files changed, 18 insertions, 1 deletions
diff --git a/emulators/hercules/patches/patch-aa b/emulators/hercules/patches/patch-aa
index 8d21c3a43ec..c61e5042b77 100644
--- a/emulators/hercules/patches/patch-aa
+++ b/emulators/hercules/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2001/02/20 16:42:33 agc Exp $
+$NetBSD: patch-aa,v 1.3 2001/02/21 09:19:24 agc Exp $
Set up compilation flags for NetBSD
@@ -13,6 +13,23 @@ Set up compilation flags for NetBSD
# Standard flags for all architectures
CFLAGS = -Wall -fomit-frame-pointer -DVERSION=$(VERSION) -DNO_BYTESWAP_H
+@@ -21,13 +21,13 @@
+
+ # Handle host architecture if specified
+ ifeq ($(HOST_ARCH),i386)
+-CFLAGS += -O3 -malign-double -DNO_ASM_BYTESWAP
++CFLAGS += -O3 -DNO_ASM_BYTESWAP
+ endif
+ ifeq ($(HOST_ARCH),i586)
+-CFLAGS += -O3 -malign-double -march=pentium
++CFLAGS += -O3 -march=pentium
+ endif
+ ifeq ($(HOST_ARCH),i686)
+-CFLAGS += -O3 -malign-double -march=pentiumpro
++CFLAGS += -O3 -march=pentiumpro
+ endif
+ ifeq ($(HOST_ARCH),alpha)
+ CFLAGS += -O2 -DNO_ASM_BYTESWAP
@@ -38,9 +38,9 @@
# Uncomment these lines for NetBSD, with either the unproven-pthreads