openwrt-owl/package/network/services/lldpd/patches/002-no-stack-protector.patch

12 lines
443 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -75,8 +75,6 @@ AX_CFLAGS_GCC_OPTION([-Wformat-security]
AX_CFLAGS_GCC_OPTION([-Wfatal-errors])
AX_CFLAGS_GCC_OPTION([-Wcast-align])
AX_CFLAGS_GCC_OPTION([-Winline])
-AX_CFLAGS_GCC_OPTION([-fstack-protector])
-AX_CFLAGS_GCC_OPTION([-fstack-protector-strong])
AX_CFLAGS_GCC_OPTION([-fno-omit-frame-pointer])
AX_CFLAGS_GCC_OPTION([-D_FORTIFY_SOURCE=2])
AX_CFLAGS_GCC_OPTION([-Wno-unused-parameter])