[packages/v8] workaround for gcc 4.8 enabling -Wunused-local-typedefs
glen
glen at pld-linux.org
Thu Aug 1 16:12:39 CEST 2013
commit 1a3015af449defd1e7fec82574df1abdb6df74cc
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Aug 1 17:12:11 2013 +0300
workaround for gcc 4.8 enabling -Wunused-local-typedefs
v8.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/v8.spec b/v8.spec
index 8fbe894..1ca4541 100644
--- a/v8.spec
+++ b/v8.spec
@@ -85,7 +85,9 @@ Pliki nagłówkowe silnika JavaScriptu V8.
%patch1 -p1
%patch3 -p1
+
%build
+# -Wno-unused-local-typedefs is gcc 4.8 workaround: http://code.google.com/p/v8/issues/detail?id=2149
%{__make} -r native \
component=shared_library \
soname_version=%{sover} \
@@ -94,7 +96,7 @@ Pliki nagłówkowe silnika JavaScriptu V8.
CXX="%{__cxx}" \
LINK="%{__cxx} -fuse-ld=gold" \
CFLAGS="%{rpmcflags}" \
- CXXFLAGS="%{rpmcxxflags}" \
+ CXXFLAGS="%{rpmcxxflags} -Wno-unused-local-typedefs" \
LDFLAGS="%{rpmldflags}" \
%{?with_verbose:V=1}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/v8.git/commitdiff/1a3015af449defd1e7fec82574df1abdb6df74cc
More information about the pld-cvs-commit
mailing list