1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

mac: Remove debug option fro MJIT_DEBUGFLAGS

Not to generate .dSYM directories by MJIT runs, which are left in
large numbers after each test.
This commit is contained in:
Nobuyoshi Nakada 2022-06-27 17:30:47 +09:00
parent f83c5de6d5
commit 6ba52647c3
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -11,7 +11,10 @@ override ACTIONS_GROUP = @echo "\#\#[group]$(patsubst yes-%,%,$@)"
override ACTIONS_ENDGROUP = @echo "\#\#[endgroup]"
endif
ifneq ($(filter %darwin%,$(arch)),)
ifneq ($(filter darwin%,$(target_os)),)
# Remove debug option not to generate thousands of .dSYM
MJIT_DEBUGFLAGS := $(filter-out -g%,$(MJIT_DEBUGFLAGS))
INSTRUBY_ENV += SDKROOT=/
endif
INSTRUBY_ARGS += --gnumake