aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libfpx
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2008-05-17 06:53:54 +0800
committermi <mi@FreeBSD.org>2008-05-17 06:53:54 +0800
commit66c8f494b4a7c580db063a7a28014f5d24b71124 (patch)
tree947f9a7e0394fa8571621f1722e8aa10944ff3d8 /graphics/libfpx
parented9332590cbdc7192c9d16d7f5b2a455fd9d75d9 (diff)
downloadfreebsd-ports-gnome-66c8f494b4a7c580db063a7a28014f5d24b71124.tar.gz
freebsd-ports-gnome-66c8f494b4a7c580db063a7a28014f5d24b71124.tar.zst
freebsd-ports-gnome-66c8f494b4a7c580db063a7a28014f5d24b71124.zip
Add an explicit -fno-strict-aliasing to CXXFLAGS for the sake of
8.x-systems, where it is no longer part of compiler flags. Notified by: pav
Diffstat (limited to 'graphics/libfpx')
-rw-r--r--graphics/libfpx/files/Makefile.bsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/libfpx/files/Makefile.bsd b/graphics/libfpx/files/Makefile.bsd
index 985f3c7a43ba..0c9bd450f735 100644
--- a/graphics/libfpx/files/Makefile.bsd
+++ b/graphics/libfpx/files/Makefile.bsd
@@ -29,7 +29,7 @@ CPPS += ${OLESS:S/^/${.CURDIR}\/oless\//} ${JPGS}
SRCS = ${CPPS:T:Nejpeg.c}
-CXXFLAGS+= -fno-rtti -fno-exceptions ${HAVES}
+CXXFLAGS+= -fno-rtti -fno-exceptions -fno-strict-aliasing ${HAVES}
LDADD += -L${LOCALBASE}/lib -lm -lstdc++
.PATH: ${CPPS:H}