aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg-devel
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-04-15 06:34:50 +0800
committerlioux <lioux@FreeBSD.org>2004-04-15 06:34:50 +0800
commitd4b105888a4b8cb663e9269ab85b33af9f57cd40 (patch)
tree8e2a0c4dff49b7053f7fe84e75397f1c8a7d8b44 /multimedia/ffmpeg-devel
parentb4a67debda696465ca54ffe7af1ce2433525f7c5 (diff)
downloadfreebsd-ports-gnome-d4b105888a4b8cb663e9269ab85b33af9f57cd40.tar.gz
freebsd-ports-gnome-d4b105888a4b8cb663e9269ab85b33af9f57cd40.tar.zst
freebsd-ports-gnome-d4b105888a4b8cb663e9269ab85b33af9f57cd40.zip
Fix build on -CURRENT i386 ARCH, OSVERSION >= 502000
PR: 64825 Submitted by: mike johnson <ahze@ahze.net>
Diffstat (limited to 'multimedia/ffmpeg-devel')
-rw-r--r--multimedia/ffmpeg-devel/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile
index 633774d51e18..311af3bd5356 100644
--- a/multimedia/ffmpeg-devel/Makefile
+++ b/multimedia/ffmpeg-devel/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