summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-02-18 23:00:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-02 16:33:20 +0000
commit295127f850ccccc6b38615ca5ffdbc5a74530428 (patch)
treeac58836a7f13da7ecf8c8f84f257cfc1822b2f0f
parent147b45ca9258419df77325311d873dad3d15eedd (diff)
Revert "fix cflags"
This reverts commit 06a7326131ab8863ec9213a41f2a90658fafe93d.
-rw-r--r--conf/intel/portage/global.conf/cflags.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/intel/portage/global.conf/cflags.conf b/conf/intel/portage/global.conf/cflags.conf
index 21ce73e..d32946c 100644
--- a/conf/intel/portage/global.conf/cflags.conf
+++ b/conf/intel/portage/global.conf/cflags.conf
@@ -1,5 +1,5 @@
-CFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations"
-CXXFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations"
+CFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations -fno-plt -fstack-protector-strong -pie -Wp,-D_FORTIFY_SOURCE=2"
+CXXFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations -fno-plt -fstack-protector-strong -pie -Wp,-D_FORTIFY_SOURCE=2"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,z,relro -Wl,z,now"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j10"