[packages/js187] - make g++ more permissive for accepting this old code - rel 6

baggins baggins at pld-linux.org
Sun Oct 20 19:22:10 CEST 2019


commit e8430d801bc027fb265987ebe10219fa32c826d3
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Oct 20 19:20:37 2019 +0200

    - make g++ more permissive for accepting this old code
    - rel 6

 js187.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/js187.spec b/js187.spec
index c437201..427dce4 100644
--- a/js187.spec
+++ b/js187.spec
@@ -11,7 +11,7 @@ Summary:	SpiderMonkey JavaScript 1.8.7 implementation
 Summary(pl.UTF-8):	Implementacja SpiderMonkey języka JavaScript 1.8.7
 Name:		js187
 Version:	1.0.0
-Release:	5
+Release:	6
 License:	MPL 1.1 or GPL v2+ or LGPL v2.1+
 Group:		Development/Languages
 #Source0:	http://ftp.mozilla.org/pub/mozilla.org/js/%{name}-%{version}.tar.gz
@@ -104,6 +104,7 @@ Statyczna wersja biblioteki JavaScript 1.8.7.
 sed -i -e 's/-O3//' js/src/Makefile.in js/src/config/Makefile.in
 
 %build
+export CXXFLAGS="%{rpmcxxflags} -fpermissive"
 cd js/src
 %configure2_13 \
 	--enable-readline \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/js187.git/commitdiff/e8430d801bc027fb265987ebe10219fa32c826d3



More information about the pld-cvs-commit mailing list