aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-01-31 12:00:09 +0800
committerarved <arved@FreeBSD.org>2004-01-31 12:00:09 +0800
commita3a7ec85c32b9f8216d812003d0c755293c07054 (patch)
tree63c859644d88f84bfb948f5a23c4cc2d67e16fa0 /multimedia
parente1c506af51c4ca729d4bb2578e83aeac5bbebac3 (diff)
downloadfreebsd-ports-gnome-a3a7ec85c32b9f8216d812003d0c755293c07054.tar.gz
freebsd-ports-gnome-a3a7ec85c32b9f8216d812003d0c755293c07054.tar.zst
freebsd-ports-gnome-a3a7ec85c32b9f8216d812003d0c755293c07054.zip
Fix build on AMD64
Approved by: maintainer timeout (26 days)
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg-devel/Makefile4
-rw-r--r--multimedia/ffmpeg/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile
index e9e3425cb0b4..ea12abcd9f87 100644
--- a/multimedia/ffmpeg-devel/Makefile
+++ b/multimedia/ffmpeg-devel/Makefile
@@ -126,11 +126,11 @@ CONFIGURE_ARGS+= --enable-mp3lame
.endif
## optimization
.ifdef(WITH_OPTIMIZED_CFLAGS)
-CONFIGURE_ARGS+= --extra-cflags="-I${LOCALBASE}/include \
+CONFIGURE_ARGS+= --extra-cflags="-fPIC -I${LOCALBASE}/include \
-I${X11BASE}/include \
-ffast-math -fomit-frame-pointer"
.else
-CONFIGURE_ARGS+= --extra-cflags="-I${LOCALBASE}/include \
+CONFIGURE_ARGS+= --extra-cflags="-fPIC -I${LOCALBASE}/include \
-I${X11BASE}/include" \
--disable-opts
.endif
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index e9e3425cb0b4..ea12abcd9f87 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -126,11 +126,11 @@ CONFIGURE_ARGS+= --enable-mp3lame
.endif
## optimization
.ifdef(WITH_OPTIMIZED_CFLAGS)
-CONFIGURE_ARGS+= --extra-cflags="-I${LOCALBASE}/include \
+CONFIGURE_ARGS+= --extra-cflags="-fPIC -I${LOCALBASE}/include \
-I${X11BASE}/include \
-ffast-math -fomit-frame-pointer"
.else
-CONFIGURE_ARGS+= --extra-cflags="-I${LOCALBASE}/include \
+CONFIGURE_ARGS+= --extra-cflags="-fPIC -I${LOCALBASE}/include \
-I${X11BASE}/include" \
--disable-opts
.endif