meta-wayland/recipes-extended/scdoc/scdoc/0001-Makefile-dont-add-static-to-LDFLAGS.patch
Markus Volk 7e7b2865c9 scdoc: update
don't add -static to LDFLAGS to fix

/usr/lib/gcc/x86_64-poky-linux/13.1.1/../../../../x86_64-poky-linux/bin/ld: cannot find -lc: No such file or directory
2023-07-13 20:00:35 +02:00

26 lines
613 B
Diff

From 2cac433806d9622dbc005fe5738f1ae8c33a98cb Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Thu, 13 Jul 2023 19:26:40 +0200
Subject: [PATCH] Makefile: dont add -static to LDFLAGS
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
Makefile | 1 -
1 file changed, 1 deletion(-)
diff --git a/Makefile b/Makefile
index 60a80b8..49021fa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,6 @@
VERSION=1.11.2
CFLAGS?=-g
MAINFLAGS:=-DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
-LDFLAGS+=-static
INCLUDE+=-Iinclude
PREFIX?=/usr/local
BINDIR?=$(PREFIX)/bin
--
2.39.3