fix makefile

This commit is contained in:
Isaac0-dev 2025-01-06 13:46:27 +10:00
parent a1746ab9cf
commit 404614cfea

View file

@ -988,11 +988,10 @@ else
endif endif
IS_DEV_OR_DEBUG := $(or $(filter 1,$(DEVELOPMENT)),$(filter 1,$(DEBUG)),0) IS_DEV_OR_DEBUG := $(or $(filter 1,$(DEVELOPMENT)),$(filter 1,$(DEBUG)),0)
# causes a lot of issues ifeq ($(IS_DEV_OR_DEBUG),0)
# ifeq ($(IS_DEV_OR_DEBUG),0) CFLAGS += -fno-ident -fno-common -ffile-prefix-map=$(PWD)=. -D__DATE__="\"\"" -D__TIME__="\"\"" -Wno-builtin-macro-redefined
# CFLAGS += -fno-ident -fno-common -fno-asynchronous-unwind-tables -ffile-prefix-map=$(PWD)=. -D__DATE__="\"\"" -D__TIME__="\"\"" -Wno-builtin-macro-redefined LDFLAGS += -Wl,--build-id=none
# LDFLAGS += -Wl,--build-id=none endif
# endif
# Prevent a crash with -sopt # Prevent a crash with -sopt
export LANG := C export LANG := C