summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-04-14 22:34:50 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-04-14 22:34:50 +0000
commitafb03701440cfd071465e4e59440ed58928ef3e8 (patch)
treea728243d39243a69b694ae3698ea79b52ae7e642 /multimedia/ffmpeg/Makefile
parentUtilize devel/pear-PEAR/Makefile.common. (diff)
Fix build on -CURRENT i386 ARCH, OSVERSION >= 502000
PR: 64825 Submitted by: mike johnson <ahze@ahze.net>
Diffstat (limited to '')
-rw-r--r--multimedia/ffmpeg/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 633774d51e18..311af3bd5356 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -54,10 +54,9 @@ WITHOUT_MMX= yes
.else
# only for i386
EXTRA_PATCHES+= ${FILESDIR}/extra-bktr-patch-libavformat::Makefile
-.endif
-
-.if ${ARCH} == "i386" && ${OSVERSION} > 502104
-BROKEN= "Does not compile on i386 5.x"
+. if ${OSVERSION} >= 502000 && !defined(WITH_OPTIMIZED_CFLAGS)
+CFLAGS+= -fomit-frame-pointer
+. endif
.endif
## lib detection