Skip to content

Fix link errors with GCC7 and older macOS

Without this patch, linking on some older versions of macOS fails with

Undefined symbols:
  "___stack_chk_guard", referenced from:
      ___stack_chk_guard$non_lazy_ptr in actions_dzl-child-property-action.c.o
      ___stack_chk_guard$non_lazy_ptr in actions_dzl-properties-group.c.o
      ___stack_chk_guard$non_lazy_ptr in actions_dzl-settings-flag-action.c.o
      ___stack_chk_guard$non_lazy_ptr in actions_dzl-widget-action-group.c.o
      ...

The linker should be receiving the -fstack-protector-strong flag explicitly.

Merge request reports