Skip to content

Drop problematic flags and escape $LDFLAGS in upstream Makefile

  • -fcf-protection=full has already been in distribution wide CFLAGS, as noted in https://rfc.archlinux.page/0003-buildflags/

    Aside from that, -fcf-protection=full is x86 specific. By removing it, this package could also be built for other architectures. This helps the Arch Linux Ports project to port packages to other architectures.

  • Cherry-pick commit to escape $LDFLAGS in upstream's Makefile.

  • Drop -Wl,-z,shstk as the binary does not support shadow stack

  • Remove removal of --sort-common from LDFLAGS.

Edited by Levi Zim

Merge request reports

Loading