[packages/php] - pass our rpmldflags as EXTRA_LDFLAGS for as-needed (avoids unnecessary linking) - release 2

qboosh qboosh at pld-linux.org
Sun May 15 15:06:07 CEST 2016


commit e19c578b43ccf395f38d7825b027d5c18bc0f91a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun May 15 15:06:10 2016 +0200

    - pass our rpmldflags as EXTRA_LDFLAGS for as-needed (avoids unnecessary linking)
    - release 2

 php.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/php.spec b/php.spec
index 637bba2..35ad8e6 100644
--- a/php.spec
+++ b/php.spec
@@ -146,7 +146,7 @@ Summary(ru.UTF-8):	PHP Версии 7 - язык препроцессирова
 Summary(uk.UTF-8):	PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
 Name:		%{orgname}%{php_suffix}
 Version:	7.0.6
-Release:	1
+Release:	2
 Epoch:		4
 # All files licensed under PHP version 3.01, except
 # Zend is licensed under Zend
@@ -2013,7 +2013,7 @@ exit 1
 %patch71 -p1
 %patch72 -p1
 
-sed -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
+%{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
 
 # cleanup backups after patching
 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
@@ -2281,6 +2281,7 @@ for sapi in $sapis; do
 	esac
 
 	%configure \
+	EXTRA_LDFLAGS="%{rpmldflags}" \
 	$sapi_args \
 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
 	--cache-file=config.cache \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/e19c578b43ccf395f38d7825b027d5c18bc0f91a



More information about the pld-cvs-commit mailing list