aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/freeimage/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/freeimage/Makefile')
-rw-r--r--graphics/freeimage/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/freeimage/Makefile b/graphics/freeimage/Makefile
index befed4496a7..6b74e6b52f3 100644
--- a/graphics/freeimage/Makefile
+++ b/graphics/freeimage/Makefile
@@ -20,6 +20,8 @@ USE_GMAKE= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/FreeImage
+CFLAGS+= -fexceptions -fvisibility=hidden
+
PLIST_FILES= include/FreeImage.h \
lib/libfreeimage.a \
lib/libfreeimage-${PORTVERSION}.so \