Fix LibreWolf env linker optimisation flag.

This commit is contained in:
inference 2023-05-03 22:30:42 +01:00
parent 0d8f850291
commit 03e71ef362
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

View File

@ -4,7 +4,7 @@
# Copyright 2023 Jake Winters
# SPDX-License-Identifier: BSD-3-Clause-Clear
# Version: 0.0.1.1
# Version: 0.0.2.2
# Flags
@ -16,4 +16,4 @@ CFLAGS="-march=znver3 -mtune=znver3 --optimize=2 -pipe ${C_SEC}"
CXXFLAGS="-march=znver3 -mtune=znver3 --optimize=2 -pipe ${C_SEC}"
RUSTFLAGS="-C debuginfo=0 -C opt-level=2 -C target-cpu=znver3"
## Linker flags
LDFLAGS="-Wl,--O2 -Wl,--strip-all ${LD_SEC}"
LDFLAGS="-Wl,-O2 -Wl,--strip-all ${LD_SEC}"