diff options
author | trav90 <travawine@palemoon.org> | 2022-04-15 08:30:05 -0500 |
---|---|---|
committer | trav90 <travawine@palemoon.org> | 2022-04-15 08:30:05 -0500 |
commit | d430c6398bf6bd1122f401aec7937a2ad0df99a5 (patch) | |
tree | d95ca61959104562efc0012c93873f1b92e276a7 /build | |
parent | 39ba93e1d72e3e88633a13a31abbaa1035fe7ee5 (diff) | |
download | uxp-d430c6398bf6bd1122f401aec7937a2ad0df99a5.tar.gz |
Issue #1818 - Part 1: remove a number of old GCC hacks.
Diffstat (limited to 'build')
-rw-r--r-- | build/autoconf/compiler-opts.m4 | 5 | ||||
-rwxr-xr-x | build/unix/build-gcc/build-gcc.sh | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/build/autoconf/compiler-opts.m4 b/build/autoconf/compiler-opts.m4 index 077a3e6f19..99990332f9 100644 --- a/build/autoconf/compiler-opts.m4 +++ b/build/autoconf/compiler-opts.m4 @@ -16,7 +16,7 @@ dnl set DEVELOPER_OPTIONS early; MOZ_DEFAULT_COMPILER is usually the first non-s DEVELOPER_OPTIONS=, DEVELOPER_OPTIONS=1) -dnl Default to MSVC for win32 and gcc-4.2 for darwin +dnl Default to MSVC for win32 dnl ============================================================== if test -z "$CROSS_COMPILE"; then case "$target" in @@ -186,7 +186,8 @@ if test "$GNU_CC"; then if test -z "$CLANG_CC"; then case "$CC_VERSION" in - 4.* | 5.*) + 4.* | 5.* | 6.*) + AC_MSG_ERROR([Unsupported GCC version.]) ;; *) # Lifetime Dead Store Elimination level 2 (default in GCC6+) breaks Gecko. diff --git a/build/unix/build-gcc/build-gcc.sh b/build/unix/build-gcc/build-gcc.sh index df3bc5dfd3..2c4d7b323d 100755 --- a/build/unix/build-gcc/build-gcc.sh +++ b/build/unix/build-gcc/build-gcc.sh @@ -1,6 +1,6 @@ #!/bin/bash -gcc_version=4.8.5 +gcc_version=7.1.0 binutils_version=2.25.1 this_path=$(readlink -f $(dirname $0)) make_flags='-j12' |