Fix redundant arguments to linker

This commit is contained in:
Michael Spang 2009-07-29 09:58:11 -04:00
parent e0332eecac
commit 23c6c89237
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
CFLAGS := -g3 -O2 -Wall -Werror -DDEBUG
LDFLAGS := -Wl,--as-needed
INCLUDES := $(shell krb5-config --cflags)
override LDFLAGS += -std=gnu99 $(INCLUDES)
override CFLAGS += -std=gnu99 $(INCLUDES)
DESTDIR :=
@ -43,7 +42,7 @@ ceo.pb-c.c ceo.pb-c.h: ceo.proto
protoc-c --c_out=. ceo.proto
ceod: dmaster.o dslave.o
$(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
$(CC) $(LDFLAGS) $^ $(CFLAGS) $(LDLIBS) -o $@
config-test: config-test.o parser.o