[packages/netsurf] comment on CXX and improve others

glen glen at pld-linux.org
Sun Jan 13 12:33:38 CET 2013


commit f8d10195031ec5ebc59f017056267d4e302064d7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Jan 13 13:33:25 2013 +0200

    comment on CXX and improve others

 netsurf.spec | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/netsurf.spec b/netsurf.spec
index 777d398..7f876e5 100644
--- a/netsurf.spec
+++ b/netsurf.spec
@@ -83,16 +83,17 @@ NETSURF_FB_FONTPATH := %{_datadir}/fonts/TTF
 EOF
 
 %build
-# make -j1 or it won't find libwapcaplet/libwapcaplet.h
-
-#-werror's:
-#src/surface/vnc.c: In function 'vnc_input':
-#src/surface/vnc.c:489:9: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
 export CC="%{__cc}"
+# while cxx not needed, somewhy it helps race condition on carme build
 export CXX="%{__cxx}"
+# silence -Werror:
+#src/surface/vnc.c: In function 'vnc_input':
+#src/surface/vnc.c:489:9: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
 export CFLAGS="%{rpmcflags} -Wno-error=unused-but-set-variable"
 export LDFLAGS="%{rpmldflags}"
 
+# make -j1 or it won't find libwapcaplet/libwapcaplet.h
+
 %{__make} -j1 \
 	PREFIX=%{_prefix} \
 	Q='' \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/netsurf.git/commitdiff/f8d10195031ec5ebc59f017056267d4e302064d7



More information about the pld-cvs-commit mailing list