diff --git a/3rdp/build/GNUmakefile b/3rdp/build/GNUmakefile index b39700ade41b50f4f74cf8067ce1592022b3322c..491709b24a8b0f2b85172ea8cf048665b5a00fe7 100644 --- a/3rdp/build/GNUmakefile +++ b/3rdp/build/GNUmakefile @@ -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