[packages/dd_rescue] don't break CFLAGS
gotar
gotar at pld-linux.org
Sat Oct 14 15:30:21 CEST 2017
commit 622e75734c02d2e20c949e228086649765d4f730
Author: Tomasz Pala <gotar at pld-linux.org>
Date: Sat Oct 14 15:29:55 2017 +0200
don't break CFLAGS
dd_rescue.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/dd_rescue.spec b/dd_rescue.spec
index b9dd9ba..9778254 100644
--- a/dd_rescue.spec
+++ b/dd_rescue.spec
@@ -34,8 +34,8 @@ tego nie robi.
%configure
%{__make} \
CC="%{__cc}" \
- CFLAGS="%{rpmcflags} %{rpmldflags} -DHAVE_CONFIG_H" \
- CFLAGS_OPT='$(CFLAGS)' \
+ RPM_OPT_FLAGS="%{rpmcflags}" \
+ EXTRA_LDFLAGS="%{rpmldflags}"
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dd_rescue.git/commitdiff/622e75734c02d2e20c949e228086649765d4f730
More information about the pld-cvs-commit
mailing list