components/daq/Makefile
changeset 6865 1cc50ab79b8c
parent 5682 94c0ca64c022
child 7288 6fa98a77f4d9
--- a/components/daq/Makefile	Thu Sep 08 09:45:54 2016 -0700
+++ b/components/daq/Makefile	Thu Sep 08 12:41:54 2016 -0700
@@ -47,6 +47,11 @@
 CONFIGURE_OPTIONS +=	--disable-ipfw-module
 CONFIGURE_OPTIONS +=    --enable-static=no
 
+# cheesy, but if we turn off visibility then it doesn't
+# save the CFLAGS right and then nulls them.
+CONFIGURE_OPTIONS +=	"gl_cv_cc_visibility=no"
+CONFIGURE_OPTIONS +=	gl_save_CFLAGS="$(CFLAGS)"
+
 REQUIRED_PACKAGES += developer/lexer/flex
 REQUIRED_PACKAGES += developer/parser/bison
 REQUIRED_PACKAGES += shell/ksh93