diff options
author | lioux <lioux@FreeBSD.org> | 2004-04-15 06:34:50 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2004-04-15 06:34:50 +0800 |
commit | d4b105888a4b8cb663e9269ab85b33af9f57cd40 (patch) | |
tree | 8e2a0c4dff49b7053f7fe84e75397f1c8a7d8b44 /multimedia | |
parent | b4a67debda696465ca54ffe7af1ce2433525f7c5 (diff) | |
download | freebsd-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')
-rw-r--r-- | multimedia/ffmpeg-devel/Makefile | 7 | ||||
-rw-r--r-- | multimedia/ffmpeg/Makefile | 7 |
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 |