mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
Toolchain: Build GCC with optimizations
This commit is contained in:
parent
1e06a9b10f
commit
d71f64b97f
Notes:
sideshowbarker
2024-07-18 19:19:27 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/d71f64b97fe Pull-request: https://github.com/SerenityOS/serenity/pull/6523
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…
Reference in a new issue