changeset 5575:3c05fc63c6dd

* cairo.mk: Also include -O2 and -g in value of CFLAGS passed to configure.
author John W. Eaton <jwe@octave.org>
date Fri, 30 Oct 2020 15:38:23 -0400
parents ca159200cead
children c5d1fd921fae
files src/cairo.mk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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