From d98002172b0fa3d3a9dd7f458d39c385f84d91e8 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Thu, 2 Jan 2020 15:38:20 +0000 Subject: [PATCH] Bug 1606625 - don't add PGO flags for wasm compilation; r=rstewart At the moment, everything we're putting in a wasm sandbox is not performance-critical, so we don't need PGO. It's also not clear that PGO would actually work properly with code that's been run through wasm. Let's leave figuring that out until, at the very least, the wasm toolchain is a little more mature. Differential Revision: https://phabricator.services.mozilla.com/D58513 --HG-- extra : moz-landing-system : lando --- config/config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.mk b/config/config.mk index 3660ffb38f73..5acbfcbe2354 100644 --- a/config/config.mk +++ b/config/config.mk @@ -195,8 +195,8 @@ HOST_CXXFLAGS = $(COMPUTED_HOST_CXXFLAGS) $(_HOST_DEPEND_CFLAGS) HOST_C_LDFLAGS = $(COMPUTED_HOST_C_LDFLAGS) HOST_CXX_LDFLAGS = $(COMPUTED_HOST_CXX_LDFLAGS) -WASM_CFLAGS = $(COMPUTED_WASM_CFLAGS) $(PGO_CFLAGS) $(_DEPEND_CFLAGS) $(MK_COMPILE_DEFINES) -WASM_CXXFLAGS = $(COMPUTED_WASM_CXXFLAGS) $(PGO_CFLAGS) $(_DEPEND_CFLAGS) $(MK_COMPILE_DEFINES) +WASM_CFLAGS = $(COMPUTED_WASM_CFLAGS) $(_DEPEND_CFLAGS) $(MK_COMPILE_DEFINES) +WASM_CXXFLAGS = $(COMPUTED_WASM_CXXFLAGS) $(_DEPEND_CFLAGS) $(MK_COMPILE_DEFINES) WASM_LDFLAGS = $(COMPUTED_WASM_LDFLAGS) ifdef MOZ_LTO