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
IS_DEV_OR_DEBUG := $(or $(filter 1,$(DEVELOPMENT)),$(filter 1,$(DEBUG)),0)
# causes a lot of issues
# ifeq ($(IS_DEV_OR_DEBUG),0)
# 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
# endif
ifeq ($(IS_DEV_OR_DEBUG),0)
CFLAGS += -fno-ident -fno-common -ffile-prefix-map=$(PWD)=. -D__DATE__="\"\"" -D__TIME__="\"\"" -Wno-builtin-macro-redefined
LDFLAGS += -Wl,--build-id=none
endif
# Prevent a crash with -sopt
export LANG := C