From ffe110314f54c1fbae9f6a0591e96da44b91bc0c Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Mar 01 2017 17:56:56 +0000 Subject: remove wrong flags from patch --- diff --git a/v8-powerpc-support-SConstruct.patch b/v8-powerpc-support-SConstruct.patch index f03ce94..44d7efe 100644 --- a/v8-powerpc-support-SConstruct.patch +++ b/v8-powerpc-support-SConstruct.patch @@ -1,15 +1,6 @@ diff -up v8-3.14.5.10/SConstruct.ppc-harder v8-3.14.5.10/SConstruct --- v8-3.14.5.10/SConstruct.ppc-harder 2012-10-22 09:09:53.000000000 -0400 +++ v8-3.14.5.10/SConstruct 2017-03-01 11:58:05.551021263 -0500 -@@ -95,7 +95,7 @@ LIBRARY_FLAGS = { - 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'], - }, - 'mode:release': { -- 'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections', -+ 'CCFLAGS': ['-O2', '-g', '-pipe', '-Wall', '-Werror=format-security', '-Wp,-D_FORTIFY_SOURCE=2', '-fexceptions', '-fstack-protector-strong', '--param=ssp-buffer-size=4', '-grecord-gcc-switches', '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1', '-m64', '-mtune=generic', '-fPIC', '-fno-strict-aliasing', '-Wno-unused-parameter', '-Wno-error=strict-overflow', '-Wno-unused-but-set-variable', '-fno-delete-null-pointer-checks', '-fomit-frame-pointer', '-fdata-sections', - '-ffunction-sections'], - }, - 'os:linux': { @@ -143,6 +143,12 @@ LIBRARY_FLAGS = { 'CCFLAGS': ['-m32'], 'LINKFLAGS': ['-m32']