[v8] ignore new GCC 4.8 warning

T.C. Hollingsworth patches at fedoraproject.org
Sat Jan 26 20:58:19 UTC 2013


commit 1836bd1db4f7b779df32bb6f2b41c1e509135ec6
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date:   Sat Jan 26 13:57:30 2013 -0700

    ignore new GCC 4.8 warning

 v8.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/v8.spec b/v8.spec
index e16be9f..4789ce4 100644
--- a/v8.spec
+++ b/v8.spec
@@ -51,7 +51,7 @@ Development headers and libraries for v8.
 %setup -q -n %{name}-%{version}
 
 # -fno-strict-aliasing is needed with gcc 4.4 to get past some ugly code
-PARSED_OPT_FLAGS=`echo \'$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing -Wno-unused-parameter -Wno-error=strict-overflow -Wno-unused-but-set-variable\'| sed "s/ /',/g" | sed "s/',/', '/g"`
+PARSED_OPT_FLAGS=`echo \'$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing -Wno-unused-parameter -Wno-error=strict-overflow -Wno-error=unused-local-typedefs -Wno-unused-but-set-variable\'| sed "s/ /',/g" | sed "s/',/', '/g"`
 sed -i "s|'-O3',|$PARSED_OPT_FLAGS,|g" SConstruct
 
 # clear spurious executable bits
@@ -200,6 +200,7 @@ rm -rf %{buildroot}
 %changelog
 * Sat Jan 26 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1:3.13.7.5-2
 - rebuild for icu-50
+- ignore new GCC 4.8 warning
 
 * Tue Dec  4 2012 Tom Callaway <spot at fedoraproject.org> - 1:3.13.7.5-1
 - update to 3.13.7.5 (needed for chromium 23)


More information about the scm-commits mailing list