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,8 +93,8 @@ 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
ifeq ($(DOSTATIC),true)
endif
ifeq ($(DOSTATIC),true)
LDFLAGS += --static
#
#use '-ffunction-sections -fdata-sections' and '--gc-sections' (if they
@ -107,7 +107,6 @@ else
# CFLAGS += -ffunction-sections -fdata-sections
# LDFLAGS += --gc-sections
#endif
endif
endif
ifndef $(PREFIX)