From 1ee5444d6f61b9dadca2e63defc8ba706a4d6035 Mon Sep 17 00:00:00 2001 From: Christiaan Welvaart Date: Tue, 7 Jul 2015 20:36:26 +0200 Subject: Drop -fPIC from x86-64 optflags - this option should only be used for code that ends up in a shared library. --- rpmrc.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpmrc.in b/rpmrc.in index d2d3e5d..3b89636 100644 --- a/rpmrc.in +++ b/rpmrc.in @@ -14,9 +14,9 @@ optflags: athlon %{__common_cflags_with_ssp} -fomit-frame-pointer -march=athlon optflags: pentium3 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=pentium3 -fasynchronous-unwind-tables optflags: pentium4 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=pentium4 -fasynchronous-unwind-tables -optflags: x86_64 %{__common_cflags_with_ssp} -fPIC -optflags: amd64 %{__common_cflags_with_ssp} -fPIC -optflags: ia32e %{__common_cflags_with_ssp} -fPIC +optflags: x86_64 %{__common_cflags_with_ssp} +optflags: amd64 %{__common_cflags_with_ssp} +optflags: ia32e %{__common_cflags_with_ssp} optflags: ia64 %{__common_cflags} -- cgit v1.2.1