]> git.pld-linux.org Git - packages/libpng.git/commitdiff
- make %%{debug} ready. libpng-1_0_8-7
authorkloczek <kloczek@pld-linux.org>
Thu, 14 Dec 2000 21:00:42 +0000 (21:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libpng.spec -> 1.36

libpng.spec

index 249085fb5c19f3e6d81a3af029a2e9a88c0f71aa..28d980d7731ec8e04cccfcf4c14333ea267a55fe 100644 (file)
@@ -110,9 +110,10 @@ Narz
 ln -s scripts/makefile.linux ./Makefile
 
 %build
-%{__make} OPT_FLAGS="$RPM_OPT_FLAGS"
+%{__make} OPT_FLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
 cd contrib/pngminus
-%{__make} -f makefile.std OPT_FLAGS="$RPM_OPT_FLAGS -I../../"
+%{__make} -f makefile.std \
+       OPT_FLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g} -I../../"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.03526 seconds and 4 git commands to generate.