We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 933e883 commit 588dcc8Copy full SHA for 588dcc8
Makefile
@@ -150,13 +150,13 @@ COMPILER-$(COMPAT_VERSION):
150
test_ver = $(shell if [ $(COMPAT_VERSION) -ge $(1) ] ; then echo ge ; fi)
151
152
# This list must be in order
153
-COMPAT_LEVEL := \
154
- $(strip $(if $(call test_ver,40100),401) \
155
- $(if $(call test_ver,40200),402) \
156
- $(if $(call test_ver,40300),403) \
157
- $(if $(call test_ver,40500),405) \
158
- $(if $(call test_ver,40600),406) \
159
- $(if $(call test_ver,40700),407))
+COMPAT_LEVEL = $(eval COMPAT_LEVEL := \
+ $$(strip $$(if $$(call test_ver,40100),401) \
+ $$(if $$(call test_ver,40200),402) \
+ $$(if $$(call test_ver,40300),403) \
+ $$(if $$(call test_ver,40500),405) \
+ $$(if $$(call test_ver,40600),406) \
+ $$(if $$(call test_ver,40700),407)))$(COMPAT_LEVEL)
160
161
Compat.ml: Compat.ml.in COMPILER-$(COMPAT_VERSION)
162
sed -e '$(if $(COMPAT_LEVEL),/^$(subst $(SPACE),@\|^,$(COMPAT_LEVEL))@/d;)s/^[0-9]*@//' $< > $@
0 commit comments