diff options
author | Michael Stone <michael@laptop.org> | 2009-12-22 04:33:15 (GMT) |
---|---|---|
committer | Michael Stone <michael@laptop.org> | 2009-12-22 04:33:15 (GMT) |
commit | 11aaa8aee0a9fbc71ad4482844d83a704621cd95 (patch) | |
tree | a25fe9d25a9d0f41590e4b3c2f53998daa1e3291 | |
parent | 8f481f77656936a35e7b45c14cd21994a586b29a (diff) |
Tweak warnings and link flags.
-rw-r--r-- | rainbow/nss/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rainbow/nss/Makefile b/rainbow/nss/Makefile index d2bf756..a733a5e 100644 --- a/rainbow/nss/Makefile +++ b/rainbow/nss/Makefile @@ -4,12 +4,14 @@ WARNFLAGS = \ -Wcast-align -Wwrite-strings -Wsign-compare \ -Wmissing-noreturn \ -Wextra -Wstrict-aliasing=2 \ - -Wunsafe-loop-optimizations + -Wunsafe-loop-optimizations \ + -Wuninitialized # Compiler flags for generating dependencies DEPFLAGS = -MMD -MP CFLAGS ?= -O3 -#CFLAGS ?= -O2 -g +# CFLAGS ?= -O0 -g +# LDFLAGS ?= -g ALLCFLAGS = -std=gnu99 -fPIC $(WARNFLAGS) $(DEPFLAGS) $(CFLAGS) # declarations @@ -57,7 +59,7 @@ gids: $(GIDS_OBJS) $(CC) $(ALLCFLAGS) -o $@ $^ libnss_rainbow.so.2: $(RAINBOW_OBJS) - $(CC) -g -shared $(LDFLAGS) -o $@ -Wl,-soname,$@ $^ + $(CC) -shared $(LDFLAGS) -o $@ -Wl,-soname,$@ $^ .PHONY: clean install |