macos fixes (#626)

This commit is contained in:
EmeraldLockdown 2025-02-12 15:00:02 -06:00 committed by Isaac0-dev
parent 5598faf7e3
commit cddf78cf12

View file

@ -1003,8 +1003,10 @@ endif
IS_DEV_OR_DEBUG := $(or $(filter 1,$(DEVELOPMENT)),$(filter 1,$(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
ifeq ($(OSX_BUILD),0)
LDFLAGS += -Wl,--build-id=none
endif
endif
# Prevent a crash with -sopt
export LANG := C