From 2f1531e4055f4becfdda9a688a4e2d686df27ead Mon Sep 17 00:00:00 2001 From: Thorsten Alteholz Date: Wed, 27 Dec 2017 12:20:35 -0800 Subject: [PATCH] a56: Makefile: add hardening stuff to CFLAGS This is incorporated from the Debian version of the package. --- a56/Makefile | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/a56/Makefile b/a56/Makefile index c204a4b..b2294b3 100644 --- a/a56/Makefile +++ b/a56/Makefile @@ -7,6 +7,25 @@ # ####################################################### +# Copyright (C) 2012 Thorsten Alteholz +# +# This file is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation, either version 3 of the License, +# or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . +# +# This file incorporates work covered by the following copyright and +# permission notice: +# # Copyright (C) 1990-1998 Quinn C. Jensen # # Permission to use, copy, modify, distribute, and sell this @@ -73,7 +92,7 @@ OBJS = main.o gram.o lex.o toktab.o subs.o getopt.o kparse.o DEFINES = $(CCDEFS) #DEFINES = -DYYDEBUG -DLDEBUG $(CCDEFS) -CFLAGS = $(DEBUG) $(DEFINES) +CFLAGS = $(DEBUG) $(DEFINES) $(CPPFLAGS) $(LDFLAGS) all: keybld a56 toomf -- 2.25.1