Switched from using -fstack-protector to -fstack-protector-strong compile
flag. Tested with both GCC and Clang.
This commit is contained in:
parent
56e1041034
commit
108b31e284
@ -42,10 +42,12 @@ sysvinit (2.90) UNRELEASED; urgency=low
|
||||
* Fixed compile error on Fedora 28 where crypt() will not link due to
|
||||
undocumented dependency change.
|
||||
* Updated Makefile to make sure correct version number and correct
|
||||
version of fiels are used. Makefile was pulling from master to create
|
||||
version of files are used. Makefile was pulling from master to create
|
||||
tarballs with old version information when trying to create beta
|
||||
snapshot.
|
||||
* Updated version information in init.c
|
||||
* Updated compiler flag from -fstack-protector to -fstack-protector-strong
|
||||
for better protection.
|
||||
|
||||
|
||||
sysvinit (2.89) world; urgency=low
|
||||
|
@ -9,7 +9,7 @@
|
||||
#
|
||||
|
||||
CPPFLAGS =
|
||||
CFLAGS ?= -ansi -O2 -fomit-frame-pointer -fstack-protector
|
||||
CFLAGS ?= -ansi -O2 -fomit-frame-pointer -fstack-protector-strong
|
||||
override CFLAGS += -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE
|
||||
override CFLAGS += $(shell getconf LFS_CFLAGS)
|
||||
STATIC =
|
||||
|
Loading…
Reference in New Issue
Block a user