mirror of
https://github.com/sheumann/hush.git
synced 2025-02-23 02:29:20 +00:00
Decouple DODEBUG and DOSTATIC
This commit is contained in:
parent
c873d61008
commit
2c1faecba7
3
Makefile
3
Makefile
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user