From e6535d2d8c30170e6b1cd0ba6cb131361f0ba3fc Mon Sep 17 00:00:00 2001 From: basebuilder_pel7x64builder0 Date: Thu, 22 Nov 2018 16:04:06 +0100 Subject: [PATCH] gcc add x64 option to compile without fPIE Signed-off-by: basebuilder_pel7x64builder0 --- SPECS/gcc.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SPECS/gcc.spec b/SPECS/gcc.spec index 904f4c11..d504ee96 100644 --- a/SPECS/gcc.spec +++ b/SPECS/gcc.spec @@ -1,3 +1,6 @@ +%ifarch x86_64 +%global optflags %(echo %{optflags} | sed 's/-fPIE//') +%endif %global DATE 20150702 %global SVNREV 225304 # Note, gcc_release must be integer, if you want to add suffixes to