aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdv
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/libdv
parentd78567433d1957748a7ea37cf1e5b3e542e806b9 (diff)
downloadports-2693b99cada1c9587d48b5d6a177966bf0a7baab.tar.gz
ports-2693b99cada1c9587d48b5d6a177966bf0a7baab.zip
Notes
Diffstat (limited to 'multimedia/libdv')
-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