TODO: make `SHARED`"d default "yes" on `debug` builds only and have it have to be explicitly set to "no" to add `CFLAGS+=--static`. For release builds keep the default "no".

Fortune for sink's current commit: Future small blessing − 末小吉
args
Avril 2 years ago
parent 05a7b0f460
commit 2d5840da8d
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -55,6 +55,7 @@ DEBUG_LDFLASG+=-Wl,-g
CFLAGS += $(COMMON_FLAGS) --std=gnu2x
LDFLAGS +=
#TODO: Find a way to make this check `ifeq SHARED,no` on debug target
ifneq ($(SHARED),yes)
CFLAGS+=--static
endif

Loading…
Cancel
Save