From: Matt Turner <mattst88@gmail.com>
To: linux-alpha@vger.kernel.org
Cc: "David S . Miller" <davem@davemloft.net>,
Aaro Koskinen <aaro.koskinen@iki.fi>,
Matt Turner <mattst88@gmail.com>
Subject: [PATCH 2/5] silo: Build with -U_FORTIFY_SOURCE
Date: Sun, 5 Apr 2020 11:48:55 -0700 [thread overview]
Message-ID: <20200405184858.3963582-2-mattst88@gmail.com> (raw)
In-Reply-To: <20200405184858.3963582-1-mattst88@gmail.com>
Otherwise the build will fail:
| ld: decompnet.o: in function `error':
| decomp.c:(.text+0x4dc): undefined reference to `__longjmp_chk'
Signed-off-by: Matt Turner <mattst88@gmail.com>
---
Rules.make | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Rules.make b/Rules.make
index 3d0efe7..9739f7a 100644
--- a/Rules.make
+++ b/Rules.make
@@ -19,7 +19,8 @@ cc-option-yn = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \
> /dev/null 2>&1; then echo "y"; else echo "n"; fi;)
CFLAGS = -Os -Wall -I. -I../include -fomit-frame-pointer \
- -fno-strict-aliasing -fno-PIC -DSMALL_RELOC=$(SMALL_RELOC) \
+ -fno-strict-aliasing -fno-PIC -U_FORTIFY_SOURCE \
+ -DSMALL_RELOC=$(SMALL_RELOC) \
-DLARGE_RELOC=$(LARGE_RELOC)
HOSTCFLAGS = -O2 -Wall
--
2.24.1
next prev parent reply other threads:[~2020-04-05 18:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-05 18:48 [PATCH 1/5] silo: Build with -fno-PIC to reduce size Matt Turner
2020-04-05 18:48 ` Matt Turner [this message]
2020-04-05 18:48 ` [PATCH 3/5] silo: Fix misleading indentation Matt Turner
2020-04-05 18:48 ` [PATCH 4/5] second: Fix typo'd operator Matt Turner
2020-04-05 18:48 ` [PATCH 5/5] second/util: Remove unused shadowed variables Matt Turner
2020-04-05 18:54 ` [PATCH 1/5] silo: Build with -fno-PIC to reduce size Matt Turner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200405184858.3963582-2-mattst88@gmail.com \
--to=mattst88@gmail.com \
--cc=aaro.koskinen@iki.fi \
--cc=davem@davemloft.net \
--cc=linux-alpha@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox