diff options
author | jklos <jklos@pkgsrc.org> | 2004-01-16 08:07:31 +0000 |
---|---|---|
committer | jklos <jklos@pkgsrc.org> | 2004-01-16 08:07:31 +0000 |
commit | e59a1a11c7807dcbbf1ea0820973de063616fca9 (patch) | |
tree | 7dab72aac7a8e0fe04a9f3c1e61013206f5b4cf7 /graphics/povray/patches | |
parent | 4936e074288df47b1cadc48f78a5d0f0b6bb257c (diff) | |
download | pkgsrc-e59a1a11c7807dcbbf1ea0820973de063616fca9.tar.gz |
Removed "-malign-double" from compiler optimisation flags. This kept povray from
compiling on PowerPC and m68k, amongst others.
Diffstat (limited to 'graphics/povray/patches')
-rw-r--r-- | graphics/povray/patches/patch-ab | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/povray/patches/patch-ab b/graphics/povray/patches/patch-ab index edc86c9a6a0..400fe0f545f 100644 --- a/graphics/povray/patches/patch-ab +++ b/graphics/povray/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.4 2003/08/31 23:04:15 gavan Exp $ +$NetBSD: patch-ab,v 1.5 2004/01/16 08:07:54 jklos Exp $ --- src/Makefile.in.orig Tue Jan 7 01:23:23 2003 +++ src/Makefile.in @@ -18,8 +18,8 @@ $NetBSD: patch-ab,v 1.4 2003/08/31 23:04:15 gavan Exp $ -CXXFLAGS = $(NOMULTICHAR) -O3 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -foptimize-sibling-calls -minline-all-stringops -Wno-multichar -LDFLAGS = @X_CFLAGS@ +.ifdef GCC -+CFLAGS = -O3 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -Wno-multichar -+CXXFLAGS = $(NOMULTICHAR) -O3 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double -Wno-multichar ++CFLAGS = -O3 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -Wno-multichar ++CXXFLAGS = $(NOMULTICHAR) -O3 -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -Wno-multichar +.else +CFLAGS = @CFLAGS@ +CXXFLAGS = @CXXFLAGS@ |