changeset 5574:ca159200cead

* src/cairo.mk: in windows, add -fstack-protector flag rather than -lssp
author John Donoghue <john.donoghue@ieee.org>
date Fri, 30 Oct 2020 14:15:13 -0400
parents b0d42d306e96
children 3c05fc63c6dd
files src/cairo.mk
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cairo.mk	Fri Oct 30 12:23:23 2020 -0400
+++ b/src/cairo.mk	Fri Oct 30 14:15:13 2020 -0400
@@ -26,8 +26,10 @@
 ifneq ($(filter mingw msvc,$(MXE_SYSTEM)),)
     ifeq ($(BUILD_STATIC),yes)
         $(PKG)_EXTRA_CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -DCAIRO_WIN32_STATIC_BUILD"
+    else
+        $(PKG)_EXTRA_CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -fstack-protector"
     endif
-    $(PKG)_EXTRA_CONFIGURE_OPTIONS += LIBS="-lssp -lmsimg32 -lgdi32"
+    $(PKG)_EXTRA_CONFIGURE_OPTIONS += LIBS="-lmsimg32 -lgdi32"
 endif
 
 # Configure script to detect float word endianness fails on MSVC.