aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Horák <dan@danny.cz>2011-12-06 10:46:27 +0000
committerDavid Howells <dhowells@redhat.com>2011-12-06 10:46:27 +0000
commit5605bff4f7c21515be98ca28f0b1ec86cea682a7 (patch)
tree3862f6057fda14522cfc9daf2e5c391a590ffe10
parentddeb8637abca1b81de4d5652d15bfcbdd275d0de (diff)
downloadcachefilesd-5605bff4f7c21515be98ca28f0b1ec86cea682a7.tar.gz
Use Fedora CFLAGS in build (fixes build on s390).
Signed-off-by: Dan Horák <dan@danny.cz> Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r--redhat/cachefilesd.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/redhat/cachefilesd.spec b/redhat/cachefilesd.spec
index c08bdc6..105d495 100644
--- a/redhat/cachefilesd.spec
+++ b/redhat/cachefilesd.spec
@@ -33,7 +33,7 @@ PIE="-fpie"
export PIE
CFLAGS="`echo $RPM_OPT_FLAGS $ARCH_OPT_FLAGS $PIE`"
-make all
+make all CFLAGS="$CFLAGS"
%install
rm -rf %{buildroot}
@@ -87,6 +87,9 @@ fi
%{_localstatedir}/cache/fscache
%changelog
+* Tue Dec 6 2011 Dan Horák <dan[at]danny.cz>
+- use Fedora CFLAGS in build (fixes build on s390)
+
* Wed Nov 30 2011 David Howells <dhowells@redhat.com> 0.10.4-1
- Fix packaging of systemd service file.
- Fix rpmlint complaints.