Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,18 @@ ifeq "$(NATIVE_COMPILER)" ""
# $(NATIVE_COMPILER) was added in 4.09: use $(ARCH) for 4.06-4.08
ifeq "$(ARCH)" "none"
NATIVE_COMPILER = false
NATDYNLINK = false
else
NATIVE_COMPILER = true
endif
else
# OCaml 4.x only sets NATIVE_COMPILER = false when --disable-native-compiler is
# given explicitly. Legacy architectures not supported by the native compiler
# then end up with NATIVE_COMPILER=true and ARCH=none
ifeq "$(ARCH)" "none"
NATIVE_COMPILER = false
NATDYNLINK = false
endif
endif

# PROFILE=dev or PROFILE=release
Expand Down
Loading