Skip to content

Commit

Permalink
mac: Remove debug option fro MJIT_DEBUGFLAGS
Browse files Browse the repository at this point in the history
Not to generate .dSYM directories by MJIT runs, which are left in
large numbers after each test.
  • Loading branch information
nobu committed Jun 27, 2022
1 parent f83c5de commit 6ba5264
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion defs/gmake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ba5264

Please sign in to comment.