debian/patches/fix-blhc.patch
raw| 1 | Description: Add CPPFLAGS to compilation flags to fix blhc |
| 2 | Author: Nilesh Patra <[email protected]> |
| 3 | Forwarded: https://lists.sr.ht/~rjarry/aerc-devel/patches/70813 |
| 4 | Last-Update: 2026-08-02 |
| 5 | --- a/GNUmakefile |
| 6 | +++ b/GNUmakefile |
| 7 | @@ -169,7 +169,7 @@ |
| 8 | define install_filter |
| 9 | ifneq ($(wildcard filters/$1.c),) |
| 10 | $1: filters/$1.c |
| 11 | - $$(CC) $$(CFLAGS) $$(LDFLAGS) -o $$@ $$< |
| 12 | + $$(CC) $$(CFLAGS) $$(CPPFLAGS) $$(LDFLAGS) -o $$@ $$< |
| 13 | |
| 14 | all: $1 |
| 15 | endif |