Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | From cdc6edc2cfcd0ce88d6e66654d605dad303b1a75 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Tue, 11 Sep 2018 17:03:36 -0700 |
| 4 | Subject: [PATCH] klibc/Kbuild: Accept EXTRA_KLIBCAFLAGS |
| 5 | |
| 6 | For passing additional assembler flags |
| 7 | |
| 8 | Upstream-Status: Pending |
| 9 | |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 11 | --- |
| 12 | usr/klibc/Kbuild | 3 ++- |
| 13 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 14 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 15 | --- a/usr/klibc/Kbuild |
| 16 | +++ b/usr/klibc/Kbuild |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 17 | @@ -183,7 +183,8 @@ $(SOHASH): $(SOLIB) $(SOLIB).hash |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 18 | 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 Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 26 | $(KLIBCSTACKFLAGS) \ |