author | Alberto Bertogli
<albertito@gmail.com> 2007-08-08 21:37:05 UTC |
committer | Alberto Bertogli
<albertito@gmail.com> 2007-08-08 21:37:05 UTC |
parent | b22586bbd11f12e99870f2f046cc5a40f56a00c7 |
libnmdb/Makefile | +1 | -4 |
nmdb/Makefile | +1 | -4 |
diff --git a/libnmdb/Makefile b/libnmdb/Makefile index 84d2fe2..45370a3 100644 --- a/libnmdb/Makefile +++ b/libnmdb/Makefile @@ -3,7 +3,7 @@ ENABLE_TIPC = 1 ENABLE_TCP = 1 ENABLE_UDP = 1 -CFLAGS += -std=c99 -Wall -O3 +CFLAGS += -std=c99 -pedantic -Wall -O3 ALL_CFLAGS = -D_XOPEN_SOURCE=500 -fPIC $(CFLAGS) ALL_CFLAGS += -DENABLE_TIPC=$(ENABLE_TIPC) \ -DENABLE_TCP=$(ENABLE_TCP) \ @@ -17,9 +17,6 @@ ifdef PROFILE ALL_CFLAGS += -g -pg -fprofile-arcs -ftest-coverage endif -ifdef STRICT -ALL_CFLAGS += -ansi -pedantic -endif # prefix for installing the binaries PREFIX=/usr/local diff --git a/nmdb/Makefile b/nmdb/Makefile index 25867ee..97fe2de 100644 --- a/nmdb/Makefile +++ b/nmdb/Makefile @@ -7,7 +7,7 @@ ENABLE_UDP = 1 # Backend to use, can be qdbm, bdb, or null BACKEND = qdbm -CFLAGS += -std=c99 -Wall -O3 +CFLAGS += -std=c99 -pedantic -Wall -O3 ALL_CFLAGS = -D_XOPEN_SOURCE=500 $(CFLAGS) ALL_CFLAGS += -DENABLE_TIPC=$(ENABLE_TIPC) \ -DENABLE_TCP=$(ENABLE_TCP) \ @@ -21,9 +21,6 @@ ifdef PROFILE ALL_CFLAGS += -g -pg -fprofile-arcs -ftest-coverage endif -ifdef STRICT -ALL_CFLAGS += -ansi -pedantic -endif # prefix for installing the binaries PREFIX=/usr/local