diff --git a/portage/env/chromium.conf b/portage/env/chromium.conf deleted file mode 100644 index 7d94eee..0000000 --- a/portage/env/chromium.conf +++ /dev/null @@ -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 diff --git a/portage/env/malloc-basic.conf b/portage/env/malloc-basic.conf deleted file mode 100644 index 52a4dc7..0000000 --- a/portage/env/malloc-basic.conf +++ /dev/null @@ -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}" diff --git a/portage/env/malloc-nolto-nopie.conf b/portage/env/malloc-nolto-nopie.conf deleted file mode 100644 index f07c4ba..0000000 --- a/portage/env/malloc-nolto-nopie.conf +++ /dev/null @@ -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}" diff --git a/portage/env/malloc-nolto.conf b/portage/env/malloc-nolto.conf deleted file mode 100644 index 0cdbff9..0000000 --- a/portage/env/malloc-nolto.conf +++ /dev/null @@ -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}" diff --git a/portage/env/malloc-nopie.conf b/portage/env/malloc-nopie.conf deleted file mode 100644 index 06ffc12..0000000 --- a/portage/env/malloc-nopie.conf +++ /dev/null @@ -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}"