# HG changeset patch # User John W. Eaton # Date 1604086703 14400 # Node ID 3c05fc63c6dd390001918551cef73cc16c0f2616 # Parent ca159200ceadcbdec1912b21e5e1fb12046e2273 * cairo.mk: Also include -O2 and -g in value of CFLAGS passed to configure. diff -r ca159200cead -r 3c05fc63c6dd src/cairo.mk --- a/src/cairo.mk Fri Oct 30 14:15:13 2020 -0400 +++ b/src/cairo.mk Fri Oct 30 15:38:23 2020 -0400 @@ -25,9 +25,9 @@ # Add special flag for static Win32 builds ifneq ($(filter mingw msvc,$(MXE_SYSTEM)),) ifeq ($(BUILD_STATIC),yes) - $(PKG)_EXTRA_CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -DCAIRO_WIN32_STATIC_BUILD" + $(PKG)_EXTRA_CONFIGURE_OPTIONS += CFLAGS="-O2 -g -DCAIRO_WIN32_STATIC_BUILD" else - $(PKG)_EXTRA_CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -fstack-protector" + $(PKG)_EXTRA_CONFIGURE_OPTIONS += CFLAGS="-O2 -g -fstack-protector" endif $(PKG)_EXTRA_CONFIGURE_OPTIONS += LIBS="-lmsimg32 -lgdi32" endif