From: darkcoven Date: Fri, 27 Sep 2013 22:26:28 +0000 (+0200) Subject: Hide symbols, force CFLAGS X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4cbf6a0a12eca4c27cbfcc1e65e74931496f33c7;p=ngadmin Hide symbols, force CFLAGS --- diff --git a/configure.ac b/configure.ac index d063ae5..d0dc40b 100644 --- a/configure.ac +++ b/configure.ac @@ -14,6 +14,8 @@ LT_INIT AC_PROG_CC AM_PROG_CC_C_O +CFLAGS="-Wall -Wextra -Os" + # Checks for libraries AC_CHECK_LIB([readline], [readline]) diff --git a/lib/src/Makefile.am b/lib/src/Makefile.am index bc789c4..7a0d5b7 100644 --- a/lib/src/Makefile.am +++ b/lib/src/Makefile.am @@ -4,6 +4,6 @@ lib_LTLIBRARIES = libngadmin.la libngadmin_la_SOURCES = network.c bitrate.c firmware.c libconf.c mirror.c misc.c \ netconf.c ports.c qos.c session.c vlan.c libngadmin_la_CPPFLAGS = -DBUILD_LIB -I$(top_srcdir)/raw/include/ -I$(top_srcdir)/lib/include/ -libngadmin_la_CFLAGS = -fno-strict-aliasing +libngadmin_la_CFLAGS = -fno-strict-aliasing -fvisibility=hidden libngadmin_la_LIBADD = $(top_builddir)/raw/src/librawnsdp.la