[packages/phantomjs] - build with PIC (required on ix86, dosn't hurn on other archs)

baggins baggins at pld-linux.org
Mon Apr 6 19:26:10 CEST 2015


commit ca6a1fa439ef1ebefb4807f123349dd3844528e3
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Apr 6 19:25:24 2015 +0200

    - build with PIC (required on ix86, dosn't hurn on other archs)

 phantomjs.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/phantomjs.spec b/phantomjs.spec
index 953b30d..8652a18 100644
--- a/phantomjs.spec
+++ b/phantomjs.spec
@@ -56,7 +56,7 @@ rm -r src/breakpad
 qmake-qt5
 %{__make} \
 	CXX="%{__cxx}" \
-	CXXFLAGS="%{rpmcxxflags}"
+	CXXFLAGS="%{rpmcxxflags} -fPIC"
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/phantomjs.git/commitdiff/ca6a1fa439ef1ebefb4807f123349dd3844528e3



More information about the pld-cvs-commit mailing list