diff --git a/portage/env/firefox.conf b/portage/env/firefox.conf new file mode 100644 index 0000000..f2fb848 --- /dev/null +++ b/portage/env/firefox.conf @@ -0,0 +1,18 @@ +# Portage - env - Firefox + +# Copyright 2022-2023 Inference +# SPDX-License-Identifier: BSD-3-Clause-Clear + +# Version: 0.0.0.0 + + +# Flags +## Hardening flags +#C_SEC="-fPIE -fPIC -fstack-protector-all -fstack-clash-protection -D_FORTIFY_SOURCE=2 -ftrivial-auto-var-init=pattern -fwrapv" +#LD_SEC="-Wl,-pie -Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro" +## Compiler flags +CFLAGS="-march=znver3 -O2 -pipe -U__gnu_linux__" +CXXFLAGS="-march=znver3 -O2 -pipe" +RUSTFLAGS="-Ctarget-cpu=znver3 -Copt-level=2 -Cdebuginfo=0" +## Linker flags +LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"