From d3c510be43adb96b98924a015ef751e790bdd4f2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 12 Apr 2020 11:07:15 +0100 Subject: enable stack clash protection --- conf/intel/portage/env/pltnonow.conf | 4 ++-- conf/intel/portage/make.conf/00-cflags.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'conf/intel') diff --git a/conf/intel/portage/env/pltnonow.conf b/conf/intel/portage/env/pltnonow.conf index 64649e4..1ba070f 100644 --- a/conf/intel/portage/env/pltnonow.conf +++ b/conf/intel/portage/env/pltnonow.conf @@ -1,5 +1,5 @@ # This file has been automatically generated, do not edit. -CFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations -fstack-protector-strong" -CXXFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations -fstack-protector-strong" +CFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations -fstack-protector-strong -fstack-clash-protection -fcf-protection=full" +CXXFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations -fstack-protector-strong -fstack-clash-protection -fcf-protection=full" LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro" diff --git a/conf/intel/portage/make.conf/00-cflags.conf b/conf/intel/portage/make.conf/00-cflags.conf index bee4eb0..21bfa2f 100644 --- a/conf/intel/portage/make.conf/00-cflags.conf +++ b/conf/intel/portage/make.conf/00-cflags.conf @@ -1,6 +1,6 @@ # This file has been automatically generated, do not edit. -CFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations -fno-plt -fstack-protector-strong" -CXXFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations -fno-plt -fstack-protector-strong" +CFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations -fno-plt -fstack-protector-strong -fstack-clash-protection -fcf-protection=full" +CXXFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations -fno-plt -fstack-protector-strong -fstack-clash-protection -fcf-protection=full" LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,now -Wl,-z,relro" CHOST="x86_64-pc-linux-gnu" -- cgit v1.2.3