diff options
author | Gunnar Beutner <gunnar@beutner.name> | 2021-04-20 23:15:43 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-20 23:23:23 +0200 |
commit | d71f64b97fe93bc8e81a40dc721b5e80955982f5 (patch) | |
tree | 8e0965d985079aa13503b05163303aff5dca6934 /Toolchain | |
parent | 1e06a9b10fafcf482fe7b930222a8dce579b8eb8 (diff) | |
download | serenity-d71f64b97fe93bc8e81a40dc721b5e80955982f5.zip |
Toolchain: Build GCC with optimizations
Diffstat (limited to 'Toolchain')
-rwxr-xr-x | Toolchain/BuildIt.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Toolchain/BuildIt.sh b/Toolchain/BuildIt.sh index 591cb88b43..68069a3c17 100755 --- a/Toolchain/BuildIt.sh +++ b/Toolchain/BuildIt.sh @@ -31,8 +31,8 @@ SYSTEM_NAME="$(uname -s)" # We *most definitely* don't need debug symbols in the linker/compiler. # This cuts the uncompressed size from 1.2 GiB per Toolchain down to about 120 MiB. # Hence, this might actually cause marginal speedups, although the point is to not waste space as blatantly. -export CFLAGS="-g0" -export CXXFLAGS="-g0" +export CFLAGS="-g0 -O2" +export CXXFLAGS="-g0 -O2" if [ "$SYSTEM_NAME" = "OpenBSD" ]; then MAKE=gmake |