From 14dc52ff497b72560be1d0ede86e503dfc5f774c Mon Sep 17 00:00:00 2001 From: George Wright Date: Tue, 12 Aug 2014 17:14:43 -0400 Subject: [PATCH] Bug 1052813 - Add -fomit-frame-pointer to CXXFLAGS for Skia r=mattwoodrow --- gfx/skia/generate_mozbuild.py | 1 + gfx/skia/moz.build | 1 + 2 files changed, 2 insertions(+) diff --git a/gfx/skia/generate_mozbuild.py b/gfx/skia/generate_mozbuild.py index e5d8fc01146f..7b5b44b67c67 100755 --- a/gfx/skia/generate_mozbuild.py +++ b/gfx/skia/generate_mozbuild.py @@ -142,6 +142,7 @@ if CONFIG['GNU_CXX']: CXXFLAGS += [ '-Wno-overloaded-virtual', '-Wno-unused-function', + '-fomit-frame-pointer', ] if not CONFIG['CLANG_CXX']: CXXFLAGS += ['-Wno-logical-op'] diff --git a/gfx/skia/moz.build b/gfx/skia/moz.build index 6c0c2b5be157..1606995375c7 100644 --- a/gfx/skia/moz.build +++ b/gfx/skia/moz.build @@ -970,6 +970,7 @@ if CONFIG['GNU_CXX']: CXXFLAGS += [ '-Wno-overloaded-virtual', '-Wno-unused-function', + '-fomit-frame-pointer', ] if not CONFIG['CLANG_CXX']: CXXFLAGS += ['-Wno-logical-op']