aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristiaan Welvaart <cjw@time4t.net>2015-07-07 20:36:26 +0200
committerChristiaan Welvaart <cjw@time4t.net>2015-07-07 20:36:26 +0200
commit1ee5444d6f61b9dadca2e63defc8ba706a4d6035 (patch)
treeffd1c37c83d80f1713c129c89aa534f679f7ba1a
parentd7f1b5b54d391e75217e19e021b0c63e40eab60d (diff)
downloadrpm-setup-1ee5444d6f61b9dadca2e63defc8ba706a4d6035.tar
rpm-setup-1ee5444d6f61b9dadca2e63defc8ba706a4d6035.tar.gz
rpm-setup-1ee5444d6f61b9dadca2e63defc8ba706a4d6035.tar.bz2
rpm-setup-1ee5444d6f61b9dadca2e63defc8ba706a4d6035.tar.xz
rpm-setup-1ee5444d6f61b9dadca2e63defc8ba706a4d6035.zip
Drop -fPIC from x86-64 optflags - this option should only be used for code that ends up in a shared library.
-rw-r--r--rpmrc.in6
1 files 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}