From 6ad0be4336ae1c509e3d1b100611aef3a48ae135 Mon Sep 17 00:00:00 2001 From: inference Date: Tue, 17 Jan 2023 01:43:19 +0000 Subject: [PATCH] Sort all flags A-Z. --- portage/env/gcc.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/portage/env/gcc.conf b/portage/env/gcc.conf index d20c15f..6b86d8c 100644 --- a/portage/env/gcc.conf +++ b/portage/env/gcc.conf @@ -3,7 +3,7 @@ # Copyright 2022-2023 Inference # SPDX-License-Identifier: BSD-3-Clause-Clear -# Version: 2.0.0.3 +# Version: 2.0.1.4 # Toolchain @@ -22,10 +22,10 @@ STRIP="strip" # Flags ## Hardening flags -C_SEC="-fPIE -fPIC -fstack-clash-protection -fstack-protector-strong -fwrapv" -LD_SEC="-Wl,-z,defs -Wl,-z,now -Wl,-pie -Wl,-z,relro -Wl,--strip-all" +C_SEC="-fPIC -fPIE -fstack-clash-protection -fstack-protector-strong -fwrapv" +LD_SEC="-Wl,-pie -Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro" ## Compiler flags -CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -flto=4 -U__gnu_linux__ ${C_SEC}" -CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -flto=4 ${C_SEC}" +CFLAGS="-flto=4 -march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__ ${C_SEC}" +CXXFLAGS="-flto=4 -march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}" ## Linker flags LDFLAGS="-Wl,-O2 ${LD_SEC}"