mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-12-01 19:07:07 +00:00
Disable stack protector for Linux builds, to avoid runtime dependency
This commit is contained in:
parent
a2a4d937bf
commit
b5e16ca938
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user