summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-02-19 03:02:30 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-02 16:33:20 +0000
commit25a49f95d70402741a0d9b4b470a3e01866c103e (patch)
tree6ca971da5e4a20ade2f556bd17c95079550d146f
parent9cbf7fc50c5ff36619cee10ef41aedf344ce9d84 (diff)
drop -pie command line argument, profile builds PIE binaries by default anyway
-rw-r--r--conf/intel/portage/env/nofortify.conf4
-rw-r--r--conf/intel/portage/env/ufortify.conf4
-rw-r--r--conf/intel/portage/global.conf/cflags.conf4
-rw-r--r--conf/intel/portage/package.env/00-dev.package.env1
-rw-r--r--conf/intel/portage/package.env/00-sys.package.env1
5 files changed, 6 insertions, 8 deletions
diff --git a/conf/intel/portage/env/nofortify.conf b/conf/intel/portage/env/nofortify.conf
index 1137a60..7a34013 100644
--- a/conf/intel/portage/env/nofortify.conf
+++ b/conf/intel/portage/env/nofortify.conf
@@ -1,5 +1,5 @@
-CFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations -fno-plt -fstack-protector-strong -pie"
-CXXFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations -fno-plt -fstack-protector-strong -pie"
+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"
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"
MAKEOPTS="-j10"
diff --git a/conf/intel/portage/env/ufortify.conf b/conf/intel/portage/env/ufortify.conf
index 5884c4a..83fd54b 100644
--- a/conf/intel/portage/env/ufortify.conf
+++ b/conf/intel/portage/env/ufortify.conf
@@ -1,5 +1,5 @@
-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,-U_FORTIFY_SOURCE"
-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,-U_FORTIFY_SOURCE"
+CFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations -fno-plt -fstack-protector-strong -Wp,-U_FORTIFY_SOURCE"
+CXXFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations -fno-plt -fstack-protector-strong -Wp,-U_FORTIFY_SOURCE"
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"
MAKEOPTS="-j10"
diff --git a/conf/intel/portage/global.conf/cflags.conf b/conf/intel/portage/global.conf/cflags.conf
index 47fc39e..5b7ff0d 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 -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"
+CFLAGS="-O2 -march=x86-64 -mtune=generic -pipe -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations -fno-plt -fstack-protector-strong -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 -Wp,-D_FORTIFY_SOURCE=2"
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"
MAKEOPTS="-j10"
diff --git a/conf/intel/portage/package.env/00-dev.package.env b/conf/intel/portage/package.env/00-dev.package.env
deleted file mode 100644
index 6b8301e..0000000
--- a/conf/intel/portage/package.env/00-dev.package.env
+++ /dev/null
@@ -1 +0,0 @@
-dev-lang/perl nofortify.conf
diff --git a/conf/intel/portage/package.env/00-sys.package.env b/conf/intel/portage/package.env/00-sys.package.env
index 05c5a5e..849a347 100644
--- a/conf/intel/portage/package.env/00-sys.package.env
+++ b/conf/intel/portage/package.env/00-sys.package.env
@@ -1,2 +1 @@
sys-fs/dmraid noparallelmake.conf
-sys-libs/glibc ufortify.conf