diff options
author | Moonchild <moonchild@palemoon.org> | 2022-03-02 18:19:24 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-03-02 18:19:24 +0000 |
commit | 5790af6c8bbe8acd82cb0db4fc6f49dca301985a (patch) | |
tree | df508244b46e7b6ecdffca4bcb539c26610a4e49 /build | |
parent | 39e80ed9afe2e5bba65a2786c7eff7c3189d49e8 (diff) | |
download | GRE-5790af6c8bbe8acd82cb0db4fc6f49dca301985a.tar.gz |
Issue #15 - 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 077a3e6f1..99990332f 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 df3bc5dfd..2c4d7b323 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' |