aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--multimedia/ffmpeg-devel/Makefile7
-rw-r--r--multimedia/ffmpeg/Makefile7
2 files changed, 6 insertions, 8 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
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