summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-03-14 04:14:20 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-03-14 04:14:20 +0000
commit2693b99cada1c9587d48b5d6a177966bf0a7baab (patch)
tree46b1b5541c55bef85445553264976b54cea17344 /multimedia
parentFix build on amd64 (-fPIC for shared library objects) (diff)
o Work around compiler BUG
- Optimizations -O{1,s,2,3} work - However, lack of -O{1,s,2,3} or -O0 BREAK the build - Therefore, make sure we have AT LEAST -O and avoid -O0 PR: 52024 Submitted by: Heiner Eichmann <h.eichmann@gmx.de>
Notes
Notes: svn path=/head/; revision=103957
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libdv/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/multimedia/libdv/Makefile b/multimedia/libdv/Makefile
index e98fbca106dc..d5b8d605f309 100644
--- a/multimedia/libdv/Makefile
+++ b/multimedia/libdv/Makefile
@@ -34,6 +34,12 @@ PORTDOCS= AUTHORS COPYING COPYRIGHT ChangeLog NEWS README \
.include <bsd.port.pre.mk>
+# XXX - work around compiler bug
+# Optimizations -O{1,s,2,3} work
+# However, lack of -O{1,s,2,3} or -O0 BREAK the build
+# Therefore, make sure we have AT LEAST -O and avoid -O0
+CONFIGURE_ENV+= CFLAGS="-O ${CFLAGS:N-O0}"
+
.ifndef(WITHOUT_SDL)
USE_SDL= sdl
CONFIGURE_ARGS+= --enable-sdl