Skip to content
Snippets Groups Projects
Commit 3a25c009 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Disable tracejit on OSs it's not supported on.

Only supported on FreeBSD, Linux, Solaris, OS/2, GNU, Cygwin, and Darwin
Should allow OpenBSD to build JS engine.
parent d15b58f0
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1519 passed
......@@ -27,6 +27,17 @@ ifeq ($(shell perl -e 'print "$(machine)"=~/\.arm/?"YES":"NO"'),YES)
endif
endif
endif
# OS/2 and "GNU" (HURD?) also need this, but we never plan to support them.
ifneq ($(os),darwin)
ifneq ($(os),linux)
ifneq ($(os),freebsd)
ifneq ($(os),sunos)
JS_CONFIGURE_ARGS += '--disable-tracejit'
endif
endif
endif
endif
JS_CONFIGURE_ENV += 'CXXFLAGS=$(CXXFLAGS)'
.PHONY: cryptlib libmozjs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment