From ac40d4b0291bc239b926b34d260e84ebf420b3eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Thu, 12 May 2022 19:35:47 +0200 Subject: [PATCH] Add PIC_CFLAGS to the libr_syscall `%.sdb` rule To fix linking on recent GNU toolchains, e.g. on Fedora 36. --- libr/syscall/d/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libr/syscall/d/Makefile b/libr/syscall/d/Makefile index 8535098aa1..c0b69771b1 100644 --- a/libr/syscall/d/Makefile +++ b/libr/syscall/d/Makefile @@ -51,7 +51,7 @@ else endif test -f $@ ${SDB} -t -C $@ - $(CC) $(CFLAGS) -c `echo $@ | sed -e s,sdb,c,` + $(CC) $(CFLAGS) $(PIC_CFLAGS) -c `echo $@ | sed -e s,sdb,c,` clean: rm -f *.sdb