From 032ac88cfd1e7c959c56d4be35eccf30205e0021 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Pass correct CFLAGS to build. --- zlib/mingw32-zlib.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zlib/mingw32-zlib.spec b/zlib/mingw32-zlib.spec index 729a72a..5582c77 100644 --- a/zlib/mingw32-zlib.spec +++ b/zlib/mingw32-zlib.spec @@ -6,7 +6,7 @@ Name: mingw32-zlib Version: 1.2.3 -Release: 10%{?dist} +Release: 11%{?dist} Summary: MinGW Windows zlib compression library License: zlib @@ -46,6 +46,7 @@ RANLIB=%{_mingw32_ranlib} \ ./configure make -f win32/Makefile.gcc \ + CFLAGS="%{_mingw32_cflags}" \ CC=%{_mingw32_cc} \ AR=%{_mingw32_ar} \ RC=i686-pc-mingw32-windres \ @@ -88,6 +89,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Dec 18 2008 Richard W.M. Jones - 1.2.3-11 +- Pass correct CFLAGS to build. + * Thu Oct 16 2008 Richard W.M. Jones - 1.2.3-10 - Consider native patches. -- 1.8.3.1