Author: glen Date: Sun Oct 31 13:09:38 2010 GMT Module: packages Tag: HEAD ---- Log message: - pass optflags
---- Files affected: packages/php-xhp: php-xhp.spec (1.5 -> 1.6) , optflags.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/php-xhp/php-xhp.spec diff -u packages/php-xhp/php-xhp.spec:1.5 packages/php-xhp/php-xhp.spec:1.6 --- packages/php-xhp/php-xhp.spec:1.5 Sun Oct 31 12:54:17 2010 +++ packages/php-xhp/php-xhp.spec Sun Oct 31 14:09:33 2010 @@ -13,6 +13,7 @@ Source0: http://github.com/facebook/xhp/tarball/%{version}/%{name}-%{version}.tar.gz # Source0-md5: 38cab2551dc3a4e1bc5a68d2be39e64a URL: http://github.com/facebook/xhp/wiki +Patch0: optflags.patch # if you use git checkout: #BuildRequires: bison >= 2.3 #BuildRequires: flex >= 2.5.35 @@ -43,6 +44,7 @@ %prep %setup -qc mv facebook-%{modname}-*/* . +%patch0 -p1 %build %{__make} -C xhp \ @@ -110,6 +112,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.6 2010/10/31 13:09:33 glen +- pass optflags + Revision 1.5 2010/10/31 11:54:17 glen - up to 1.3.9, make tests non-interactive, tests pass ================================================================ Index: packages/php-xhp/optflags.patch diff -u /dev/null packages/php-xhp/optflags.patch:1.1 --- /dev/null Sun Oct 31 14:09:38 2010 +++ packages/php-xhp/optflags.patch Sun Oct 31 14:09:33 2010 @@ -0,0 +1,22 @@ +--- php-xhp-1.3.9/xhp/Makefile~ 2010-05-28 14:06:59.000000000 +0300 ++++ php-xhp-1.3.9/xhp/Makefile 2010-10-31 15:05:15.465496881 +0200 +@@ -1,7 +1,9 @@ ++OPTFLAGS = -Wall -O3 ++ + ifdef DEBUG + CPPFLAGS = -fPIC -ggdb -Wall -DDEBUG + else +-CPPFLAGS = -fPIC -g -Wall -O3 -minline-all-stringops ++CPPFLAGS = -fPIC -g $(OPTFLAGS) -minline-all-stringops + endif + + ifdef PROFILE +@@ -38,7 +40,7 @@ + $(AR) -crs $@ $^ + + libxhp.so: code_rope.o scanner.lex.o parser.yacc.o fastpath.o xhp_preprocess.o +- g++ -shared -Wl,-soname,libxhp.so -o libxhp.so $^ ++ $(CXX) -shared -Wl,-soname,libxhp.so -o libxhp.so $^ + + xhpize: xhpize.cpp libxhp.a + $(CXX) $(CPPFLAGS) -o $@ $^ ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-xhp/php-xhp.spec?r1=1.5&r2=1.6&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
