Decouple DODEBUG and DOSTATIC

This commit is contained in:
Eric Andersen 2000-09-21 22:26:02 +00:00
parent c873d61008
commit 2c1faecba7

View File

@ -93,7 +93,7 @@ else
CFLAGS += $(WARNINGS) $(OPTIMIZATION) -fomit-frame-pointer -D_GNU_SOURCE
LDFLAGS += -s
STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment $(PROG)
#Only staticly link when _not_ debugging
endif
ifeq ($(DOSTATIC),true)
LDFLAGS += --static
#
@ -108,7 +108,6 @@ else
# LDFLAGS += --gc-sections
#endif
endif
endif
ifndef $(PREFIX)
PREFIX = `pwd`/_install