summaryrefslogtreecommitdiff
path: root/defs
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-05-21 10:34:28 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-05-21 10:34:28 +0900
commit9edad0df74c6ad39281852cca9793fc7dba5c81f (patch)
treee26c3e989bd3061252cd345d7f90e1f1c11ce611 /defs
parenta35d137a37a0c12cb5694e419284b9e0ab718467 (diff)
downloadruby-9edad0df74c6ad39281852cca9793fc7dba5c81f.tar.gz
Remove short options with argument [Bug #17870]
Remove GNU make `-O` and `-W` options which are short but followed by an argument, so that `$mflags.set?(?n)` does not return `true` wrongly.
Diffstat (limited to 'defs')
-rw-r--r--defs/gmake.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/defs/gmake.mk b/defs/gmake.mk
index 316ff18c20..dc749b8d8a 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -9,6 +9,7 @@ nproc = $(subst -j,,$(filter -j%,$(MFLAGS)))
ifneq ($(filter %darwin%,$(arch)),)
INSTRUBY_ENV += SDKROOT=/
endif
+INSTRUBY_ARGS += --gnumake
CHECK_TARGETS := great exam love check test check% test% btest%
# expand test targets, and those dependents