mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
Toolchain: Build GCC with optimizations
This commit is contained in:
parent
1e06a9b10f
commit
d71f64b97f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue