aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/xvidcap/Makefile
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-11-14 06:31:18 +0800
committerthierry <thierry@FreeBSD.org>2006-11-14 06:31:18 +0800
commit6f78714de2598a01297ed973b7ed919cb666d360 (patch)
treeb4f3b9f498698628fae6e14ffbefc644b61e413f /sysutils/xvidcap/Makefile
parent204bce44c10a626a5e6bb22100e689ca83ced462 (diff)
downloadfreebsd-ports-gnome-6f78714de2598a01297ed973b7ed919cb666d360.tar.gz
freebsd-ports-gnome-6f78714de2598a01297ed973b7ed919cb666d360.tar.zst
freebsd-ports-gnome-6f78714de2598a01297ed973b7ed919cb666d360.zip
Force `-fno-strict-aliasing' to fix on i386 5.
Reported by: pointyhat via Kris
Diffstat (limited to 'sysutils/xvidcap/Makefile')
-rw-r--r--sysutils/xvidcap/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/xvidcap/Makefile b/sysutils/xvidcap/Makefile
index b9f9103c54e6..5a8f288ad35d 100644
--- a/sysutils/xvidcap/Makefile
+++ b/sysutils/xvidcap/Makefile
@@ -37,6 +37,10 @@ USE_GNOME= glib20 libglade2
USE_GETTEXT= yes
INSTALLS_OMF= yes
+.if !defined(CFLAGS) || ${CFLAGS:M-fno-strict-aliasing*} == ""
+CFLAGS+= -O2 -fno-strict-aliasing
+.endif
+
PORTDOCS= ChangeLog INSTALL README
NULLDOCS= AUTHORS COPYING NEWS