From 4f72fc8fbea193c7f4d85fb6ecc54f85bed32c3c Mon Sep 17 00:00:00 2001 From: "Christian Holler (:decoder)" Date: Thu, 26 Mar 2020 16:29:48 +0100 Subject: [PATCH] Fix SM builds and use -gline-tables-only for building (#3542) --- projects/spidermonkey-ufi/build.sh | 4 ++-- projects/spidermonkey/build.sh | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/projects/spidermonkey-ufi/build.sh b/projects/spidermonkey-ufi/build.sh index 7356ff6cc..0460c0e43 100755 --- a/projects/spidermonkey-ufi/build.sh +++ b/projects/spidermonkey-ufi/build.sh @@ -38,8 +38,8 @@ mkdir -p build_OPT.OBJ cd build_OPT.OBJ ../configure \ - --enable-optimize \ - --disable-shared-js \ + --enable-debug \ + --enable-optimize="-O2 -gline-tables-only" \ --disable-jemalloc \ --enable-tests \ --enable-fuzzing \ diff --git a/projects/spidermonkey/build.sh b/projects/spidermonkey/build.sh index 8be21765b..042a741fc 100755 --- a/projects/spidermonkey/build.sh +++ b/projects/spidermonkey/build.sh @@ -30,8 +30,7 @@ cd build_DBG.OBJ # Temporarily disable cranelift (see bug 1497570) ../configure \ --enable-debug \ - --enable-optimize \ - --disable-shared-js \ + --enable-optimize="-O2 -gline-tables-only" \ --disable-jemalloc \ --disable-tests \ --enable-address-sanitizer \