summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 11:07:15 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 11:07:15 +0100
commitd3c510be43adb96b98924a015ef751e790bdd4f2 (patch)
tree09c97c03a3f7e8ce79c6257d7d7362949a99fb1e /conf
parent45fd08907a5e818c585595efa1ce4aec3697ca2a (diff)
enable stack clash protection
Diffstat (limited to 'conf')
-rw-r--r--conf/intel/portage/env/pltnonow.conf4
-rw-r--r--conf/intel/portage/make.conf/00-cflags.conf4
2 files changed, 4 insertions, 4 deletions
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"