Commit 3a25c009 authored by Deucе's avatar Deucе 👌🏾
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
Pipeline #1519 passed with stage
in 9 minutes and 36 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment