Mercurial > mxe-octave
comparison src/cairo.mk @ 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 |
comparison
equal
deleted
inserted
replaced
5574:ca159200cead | 5575:3c05fc63c6dd |
---|---|
23 # FIXME: Not sure why i was disabled... | 23 # FIXME: Not sure why i was disabled... |
24 #$(PKG)_EXTRA_CONFIGURE_OPTIONS += --disable-atomic | 24 #$(PKG)_EXTRA_CONFIGURE_OPTIONS += --disable-atomic |
25 # Add special flag for static Win32 builds | 25 # Add special flag for static Win32 builds |
26 ifneq ($(filter mingw msvc,$(MXE_SYSTEM)),) | 26 ifneq ($(filter mingw msvc,$(MXE_SYSTEM)),) |
27 ifeq ($(BUILD_STATIC),yes) | 27 ifeq ($(BUILD_STATIC),yes) |
28 $(PKG)_EXTRA_CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -DCAIRO_WIN32_STATIC_BUILD" | 28 $(PKG)_EXTRA_CONFIGURE_OPTIONS += CFLAGS="-O2 -g -DCAIRO_WIN32_STATIC_BUILD" |
29 else | 29 else |
30 $(PKG)_EXTRA_CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -fstack-protector" | 30 $(PKG)_EXTRA_CONFIGURE_OPTIONS += CFLAGS="-O2 -g -fstack-protector" |
31 endif | 31 endif |
32 $(PKG)_EXTRA_CONFIGURE_OPTIONS += LIBS="-lmsimg32 -lgdi32" | 32 $(PKG)_EXTRA_CONFIGURE_OPTIONS += LIBS="-lmsimg32 -lgdi32" |
33 endif | 33 endif |
34 | 34 |
35 # Configure script to detect float word endianness fails on MSVC. | 35 # Configure script to detect float word endianness fails on MSVC. |