From 8475bb8792370e2d7a60cd3031e903a6fb63b26ede3637af2024944c425e34d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 29 Dec 2014 16:52:34 +0000 Subject: [PATCH] - Respect cflags again, borked by previous commit. OBS-URL: https://build.opensuse.org/package/show/Archiving/bzip2?expand=0&rev=51 --- bzip2.changes | 1 + bzip2.spec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bzip2.changes b/bzip2.changes index 47d9bcf..a480f93 100644 --- a/bzip2.changes +++ b/bzip2.changes @@ -6,6 +6,7 @@ Mon Dec 29 16:48:23 UTC 2014 - tchvatal@suse.com At least even factory builds without it. - Provide libbz2.so.1.0 as other distros do, so we can run tiny things like steam. +- Respect cflags again, borked by previous commit. ------------------------------------------------------------------- Fri Dec 19 11:01:43 UTC 2014 - meissner@suse.com diff --git a/bzip2.spec b/bzip2.spec index 02fdcef..73bb7e2 100644 --- a/bzip2.spec +++ b/bzip2.spec @@ -83,7 +83,7 @@ The bzip2 runtime library development files. autoreconf -fiv %build -export CFLAGS="$CFLAGS -fPIE" +export CFLAGS="%{optflags} -fPIE" %configure --with-pic --disable-static make %{?_smp_mflags} LDFLAGS="-pie"