]> git.sur5r.net Git - ngadmin/commitdiff
Hide symbols, force CFLAGS
authordarkcoven <admin@darkcoven.tk>
Fri, 27 Sep 2013 22:26:28 +0000 (00:26 +0200)
committerdarkcoven <admin@darkcoven.tk>
Fri, 27 Sep 2013 22:26:28 +0000 (00:26 +0200)
configure.ac
lib/src/Makefile.am

index d063ae5245fac1e9076a468a4034d2e8ba329b20..d0dc40be84b750c96fa400447d7ac85a5eebc7ac 100644 (file)
@@ -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])
 
index bc789c4d7e4a6555c993e4eafb5b069964e47462..7a0d5b77151c11e8eef5d82a59bf768bb3322be1 100644 (file)
@@ -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