From ccb17c00cc6642baba31a0c219fe78fc7186ff13 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Mon, 27 Jul 2020 12:06:52 -0500 Subject: [PATCH] build: Build wine PE files with optimizations --- build/makefile_base.mak | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/makefile_base.mak b/build/makefile_base.mak index 7489c8fb..4c5625a3 100644 --- a/build/makefile_base.mak +++ b/build/makefile_base.mak @@ -1061,6 +1061,7 @@ $(WINE_CONFIGURE_FILES64): $(MAKEFILE_DEP) | faudio64 gst_base64 $(WINE_OBJ64) LD_LIBRARY_PATH=$(abspath $(TOOLS_DIR64))/lib \ STRIP=$(STRIP_QUOTED) \ CFLAGS="-I$(abspath $(TOOLS_DIR64))/include -g $(COMMON_FLAGS)" \ + CROSSCFLAGS="-g $(COMMON_FLAGS)" \ LDFLAGS=-L$(abspath $(TOOLS_DIR64))/lib \ PKG_CONFIG_PATH=$(abspath $(TOOLS_DIR64))/lib/pkgconfig \ CC=$(CC_QUOTED) \ @@ -1078,6 +1079,7 @@ $(WINE_CONFIGURE_FILES32): $(MAKEFILE_DEP) | faudio32 gst_base32 $(WINE_OBJ32) LD_LIBRARY_PATH=$(abspath $(TOOLS_DIR32))/lib \ STRIP=$(STRIP_QUOTED) \ CFLAGS="-I$(abspath $(TOOLS_DIR32))/include -g $(COMMON_FLAGS)" \ + CROSSCFLAGS="-g $(COMMON_FLAGS)" \ LDFLAGS=-L$(abspath $(TOOLS_DIR32))/lib \ PKG_CONFIG_PATH=$(abspath $(TOOLS_DIR32))/lib/pkgconfig \ CC=$(CC_QUOTED) \ @@ -1313,6 +1315,7 @@ $(WINEWIDL_CONFIGURE_FILES64): $(MAKEFILE_DEP) | $(WINEWIDL_OBJ64) --disable-tests \ STRIP=$(STRIP_QUOTED) \ CFLAGS=-I$(abspath $(TOOLS_DIR64))"/include -g $(COMMON_FLAGS)" \ + CROSSCFLAGS="-g $(COMMON_FLAGS)" \ LDFLAGS=-L$(abspath $(TOOLS_DIR64))/lib \ PKG_CONFIG_PATH=$(abspath $(TOOLS_DIR64))/lib/pkgconfig \ CC=$(CC_QUOTED) \