blob: 15b5144e447a516211befd5a4461e76f94845940 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From cdc6edc2cfcd0ce88d6e66654d605dad303b1a75 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 11 Sep 2018 17:03:36 -0700
4Subject: [PATCH] klibc/Kbuild: Accept EXTRA_KLIBCAFLAGS
5
6For passing additional assembler flags
7
8Upstream-Status: Pending
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 usr/klibc/Kbuild | 3 ++-
13 1 file changed, 2 insertions(+), 1 deletion(-)
14
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015--- a/usr/klibc/Kbuild
16+++ b/usr/klibc/Kbuild
Andrew Geisslerac970dd2021-02-12 15:32:45 -060017@@ -183,7 +183,8 @@ $(SOHASH): $(SOLIB) $(SOLIB).hash
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080018 targets += interp.o
19
20 quiet_cmd_interp = BUILD $@
21- cmd_interp = $(KLIBCCC) $(klibccflags) -D__ASSEMBLY__ \
22+ cmd_interp = $(KLIBCCC) $(klibccflags) $(EXTRA_KLIBCAFLAGS) \
23+ -D__ASSEMBLY__ \
24 -DLIBDIR=\"$(SHLIBDIR)\" \
25 -DSOHASH=\"$(SOLIBHASH)\" \
Andrew Geisslerac970dd2021-02-12 15:32:45 -060026 $(KLIBCSTACKFLAGS) \