Disable stack protector for Linux builds, to avoid runtime dependency

This commit is contained in:
Nigel Stewart 2016-01-07 22:07:00 +10:00
parent a2a4d937bf
commit b5e16ca938
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ POPT = -O2
CFLAGS.EXTRA += -fPIC CFLAGS.EXTRA += -fPIC
CFLAGS.EXTRA += -Wcast-qual CFLAGS.EXTRA += -Wcast-qual
CFLAGS.EXTRA += -ansi -pedantic CFLAGS.EXTRA += -ansi -pedantic
CFLAGS.EXTRA += -fno-stack-protector
BIN.SUFFIX = BIN.SUFFIX =
LIB.SONAME = lib$(NAME).so.$(SO_MAJOR) LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
LIB.DEVLNK = lib$(NAME).so LIB.DEVLNK = lib$(NAME).so

View File

@ -25,6 +25,7 @@ POPT = -O2
CFLAGS.EXTRA += -fPIC CFLAGS.EXTRA += -fPIC
CFLAGS.EXTRA += -Wcast-qual CFLAGS.EXTRA += -Wcast-qual
CFLAGS.EXTRA += -ansi -pedantic CFLAGS.EXTRA += -ansi -pedantic
CFLAGS.EXTRA += -fno-stack-protector
BIN.SUFFIX = BIN.SUFFIX =
LIB.SONAME = lib$(NAME).so.$(SO_MAJOR) LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
LIB.DEVLNK = lib$(NAME).so LIB.DEVLNK = lib$(NAME).so