Description: Enable hardened build flags Author: Christoph Biedl Forwarded: not-needed Bug-Debian: http://bugs.debian.org/656650 --- a/Makefile.am +++ b/Makefile.am @@ -11,9 +11,10 @@ ## warning with -Wmissing-prototypes). ## -Wmissing-prototypes removed (eg, Linux 2.2.6 headers ## aren't up to it). -CFLAGS = -O2 -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' +#CFLAGS = -O2 -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' #CFLAGS = -O2 -fno-builtin -Wall -ansi -DSBINDIR='"$(sbindir)"' #CFLAGS = -O2 -fno-builtin -Wall -ansi -pedantic -Wmissing-prototypes -Werror -DSBINDIR='"$(sbindir)"' +CPPFLAGS = -DSBINDIR='"$(sbindir)"' man_MANS = pptpctrl.8 pptpd.8 pptpd.conf.5 --- a/plugins/Makefile +++ b/plugins/Makefile @@ -1,7 +1,7 @@ CC = gcc COPTS = -O2 -g -CFLAGS = $(COPTS) -I.. -I../../include -fPIC -LDFLAGS = -shared +CFLAGS += $(COPTS) -I.. -I../../include -fPIC +LDFLAGS += -shared LDADD = -lutil INSTALL = install -o root prefix = /usr/local