mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-25 21:18:21 +01:00
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
This commit is contained in:
parent
315b35620c
commit
7e7b2865c9
@ -0,0 +1,25 @@
|
||||
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
|
||||
|
@ -7,13 +7,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=31752b4a8edd3fb9ddba1cb90fada74d"
|
||||
|
||||
SRC_URI = " \
|
||||
git://git.sr.ht/~sircmpwn/scdoc;protocol=https;branch=master \
|
||||
file://0001-Makefile-dont-add-static-to-LDFLAGS.patch \
|
||||
"
|
||||
|
||||
DEPENDS = "scdoc-native"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "1.11.2"
|
||||
SRCREV = "4af1e1e3a8ebfddcc11a189254d60fc4ad74cd59"
|
||||
SRCREV = "afeda241f3f9b2c27e461f32d9c2a704ab82ef61"
|
||||
|
||||
EXTRA_OEMAKE:class-native = "PREFIX=${prefix}"
|
||||
EXTRA_OEMAKE:class-target = "PREFIX=${prefix} HOST_SCDOC=${STAGING_BINDIR_NATIVE}/scdoc"
|
||||
|
Loading…
Reference in New Issue
Block a user