Remove redundant envs.
This commit is contained in:
parent
8a082645bb
commit
a4d8fa66e4
16
portage/env/chromium.conf
vendored
16
portage/env/chromium.conf
vendored
@ -1,16 +0,0 @@
|
||||
# Portage - env - Chromium
|
||||
|
||||
# Copyright 2022-2023 Inference
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
# Version: 0.0.0.0
|
||||
|
||||
|
||||
# Flags
|
||||
## Hardening flags
|
||||
LD_SEC="-Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro -L/usr/local/lib -lhardened_malloc"
|
||||
## Linker flags
|
||||
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--thinlto-jobs=4 ${LD_SEC}"
|
||||
## GN flags
|
||||
EXTRA_GN="target_os=\"linux\" target_cpu=\"x64\" is_official_build=true use_cfi_cast=true is_component_build=false is_debug=false ffmpeg_branding=\"Chrome\" proprietary_codecs=true enable_widevine=true symbol_level=0 blink_symbol_level=0 enable_resource_allowlist_generation=false enable_remoting=false enable_nacl=false disable_fieldtrial_testing_config=true"
|
||||
CHROMIUM_FORCE_LIBCXX=yes
|
16
portage/env/malloc-basic.conf
vendored
16
portage/env/malloc-basic.conf
vendored
@ -1,16 +0,0 @@
|
||||
# Portage - env - Clang - Malloc, Basic
|
||||
|
||||
# Copyright 2022-2023 Inference
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
# Version: 0.0.2.2
|
||||
|
||||
|
||||
# Flags
|
||||
## Hardening flags
|
||||
LD_SEC="-L/usr/local/lib -lhardened_malloc"
|
||||
## Compiler flags
|
||||
CFLAGS="-march=znver3 -O2 -pipe -U__gnu_linux__"
|
||||
CXXFLAGS="-march=znver3 -O2 -pipe"
|
||||
## Linker flags
|
||||
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind ${LD_SEC}"
|
17
portage/env/malloc-nolto-nopie.conf
vendored
17
portage/env/malloc-nolto-nopie.conf
vendored
@ -1,17 +0,0 @@
|
||||
# Portage - env - Clang - Malloc, No LTO, No PIE
|
||||
|
||||
# Copyright 2022-2023 Inference
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
# Version: 0.1.1.2
|
||||
|
||||
|
||||
# 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,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro -L/usr/local/lib -lhardened_malloc"
|
||||
## Compiler flags
|
||||
CFLAGS="-march=znver3 -O2 -pipe -U__gnu_linux__ ${C_SEC}"
|
||||
CXXFLAGS="-march=znver3 -O2 -pipe ${C_SEC}"
|
||||
## Linker flags
|
||||
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind ${LD_SEC}"
|
17
portage/env/malloc-nolto.conf
vendored
17
portage/env/malloc-nolto.conf
vendored
@ -1,17 +0,0 @@
|
||||
# Portage - env - Clang - Malloc, No LTO
|
||||
|
||||
# Copyright 2022-2023 Inference
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
# Version: 0.1.1.2
|
||||
|
||||
|
||||
# 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 -L/usr/local/lib -lhardened_malloc"
|
||||
## Compiler flags
|
||||
CFLAGS="-march=znver3 -O2 -pipe -U__gnu_linux__ ${C_SEC}"
|
||||
CXXFLAGS="-march=znver3 -O2 -pipe ${C_SEC}"
|
||||
## Linker flags
|
||||
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind ${LD_SEC}"
|
17
portage/env/malloc-nopie.conf
vendored
17
portage/env/malloc-nopie.conf
vendored
@ -1,17 +0,0 @@
|
||||
# Portage - env - Clang - Malloc, No PIE
|
||||
|
||||
# Copyright 2022-2023 Inference
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
# Version: 0.1.1.2
|
||||
|
||||
|
||||
# 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,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro -L/usr/local/lib -lhardened_malloc"
|
||||
## Compiler flags
|
||||
CFLAGS="-march=znver3 -O2 -pipe -flto=thin -U__gnu_linux__ ${C_SEC}"
|
||||
CXXFLAGS="-march=znver3 -O2 -pipe -flto=thin ${C_SEC}"
|
||||
## Linker flags
|
||||
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--thinlto-jobs=4 ${LD_SEC}"
|
Loading…
x
Reference in New Issue
Block a user