diff --git a/doc/Changelog b/doc/Changelog index 0e0dd2b..efcf0db 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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 diff --git a/src/Makefile b/src/Makefile index 088fe22..df0fe3e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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 =