| 1 | Fromscip-debian debian keyd 2.5.0-5 keyd/patches/`0006-Pass-CPPFLAGS-CFLAGS-LDFLAGS-to-the-compiler.patch`#From.: Richard Hansen <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 | Datescip-debian debian keyd 2.5.0-5 keyd/patches/`0006-Pass-CPPFLAGS-CFLAGS-LDFLAGS-to-the-compiler.patch`#Date.: Thu, 12 Sep 2024 03:15:26 -0400 |
| 3 | Subjectscip-debian debian keyd 2.5.0-5 keyd/patches/`0006-Pass-CPPFLAGS-CFLAGS-LDFLAGS-to-the-compiler.patch`#Subject.: Pass `CPPFLAGS`, `CFLAGS`, `LDFLAGS` to the compiler |
| 4 | |
| 5 | Forwarded: https://github.com/rvaiya/keyd/pull/831 |
| 6 | --- |
| 7 | Makefile | 3 +++ |
| 8 | 1 file changed, 3 insertions(+) |
| 9 | |
| 10 | diff --git a/Makefilescip-debian debian keyd 2.5.0-5 keyd/upstream/Makefile: b/Makefilescip-debian debian keyd 2.5.0-5 keyd/upstream/Makefile: |
| 11 | index 76eee69..9691ce0 100644 |
| 12 | --- a/Makefile |
| 13 | +++ b/Makefile |
| 14 | @@ -24,6 +24,7 @@ CFLAGS:=-DVERSION=\"v$(VERSION)\ \($(COMMIT)\)\" \ |
| 15 | -D_FORTIFY_SOURCE=2 \ |
| 16 | -D_DEFAULT_SOURCE \ |
| 17 | -Werror=format-security \ |
| 18 | + $(CPPFLAGS) \ |
| 19 | $(CFLAGS) |
| 20 | |
| 21 | platform=$(shell uname -s) |
| 22 | @@ -101,6 +102,8 @@ test: |
| 23 | test-io: |
| 24 | mkdir -p bin |
| 25 | $(CC) \ |
| 26 | + $(CFLAGS) \ |
| 27 | + $(LDFLAGS) \ |
| 28 | -DDATA_DIR= \ |
| 29 | -o bin/test-io \ |
| 30 | t/test-io.c \ |