aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-07-26 10:53:42 +0000
committerThierry Vignaud <tv@mageia.org>2012-07-26 10:53:42 +0000
commitc42396d71850838d79072d8030976fcf94bff14c (patch)
treec64435039f04b0a97787efdc0fee68c5c54d1ecb
parent57b71fb8c5035b612a035600602c9a30e89895a1 (diff)
downloadrpm-setup-c42396d71850838d79072d8030976fcf94bff14c.tar
rpm-setup-c42396d71850838d79072d8030976fcf94bff14c.tar.gz
rpm-setup-c42396d71850838d79072d8030976fcf94bff14c.tar.bz2
rpm-setup-c42396d71850838d79072d8030976fcf94bff14c.tar.xz
rpm-setup-c42396d71850838d79072d8030976fcf94bff14c.zip
build with -fPIC on x86_64 too (pok, mdv)
-rw-r--r--NEWS2
-rw-r--r--rpmrc.in6
2 files changed, 5 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index fb5628a..85db6c5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- build with -fPIC on x86_64 too (pok, mdv)
+
Version 1.149.1 - 25 Jul 2012, by Thierry Vignaud
- merge patches from package repository:
o fix build with rpm-4.9+
diff --git a/rpmrc.in b/rpmrc.in
index 236c649..303e7ed 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}
-optflags: amd64 %{__common_cflags_with_ssp}
-optflags: ia32e %{__common_cflags_with_ssp}
+optflags: x86_64 %{__common_cflags_with_ssp} -fPIC
+optflags: amd64 %{__common_cflags_with_ssp} -fPIC
+optflags: ia32e %{__common_cflags_with_ssp} -fPIC
optflags: ia64 %{__common_cflags}