diff --git a/qemu.spec b/qemu.spec
index d5d406d..068227d 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -40,7 +40,7 @@
 Summary: QEMU is a FAST! processor emulator
 Name: qemu
 Version: 2.3.0
-Release: 14%{?dist}
+Release: 15%{?dist}
 Epoch: 2
 License: GPLv2+ and LGPLv2+ and BSD
 Group: Development/Tools
@@ -616,10 +616,10 @@ unicore32-linux-user aarch64-softmmu"
     --disable-strip \
 %ifnarch aarch64
     --extra-ldflags="$extraldflags -pie -Wl,-z,relro -Wl,-z,now" \
-    --extra-cflags="%{optflags}" \
+    --extra-cflags="%{optflags} -fPIC -fPIE" \
 %endif
 %ifarch aarch64
-    --extra-cflags="%{optflags} -fPIC" \
+    --extra-cflags="%{optflags} -fPIC -fPIE" \
 %endif
     --enable-pie \
     --disable-werror \
@@ -1204,6 +1204,9 @@ getent passwd qemu >/dev/null || \
 
 
 %changelog
+* Fri Jul  3 2015 Richard W.M. Jones <rjones@redhat.com> - 2:2.3.0-15
+- Enable -fPIC and -fPIE on every architecture (rhbz 1232499).
+
 * Fri Jul  3 2015 Daniel P. Berrange <berrange@redhat.com> - 2:2.3.0-14
 - Use explicit --(enable,disable)-spice args (rhbz #1239102)