Skip to content
Snippets Groups Projects
Commit 1a402cbf 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 0192d167
No related branches found
No related tags found
No related merge requests found
......@@ -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