From: Juergen Gross <jgross@suse.com>
To: minios-devel@lists.xenproject.org, xen-devel@lists.xenproject.org
Cc: samuel.thibault@ens-lyon.org, Juergen Gross <jgross@suse.com>
Subject: [MINI-OS PATCH] build: don't add -lm -lpci -lz to APP_LDLIBS
Date: Thu, 13 Aug 2026 16:35:36 +0200 [thread overview]
Message-ID: <20260813143536.3607406-1-jgross@suse.com> (raw)
libm, libpci and libz are not always needed, so don't add them to
APP_LDLIBS just because libc is selected.
In case they will be needed by someone, they should be added via a
dedicated CONFIG option.
Note that none of the currently supported Xen stubdoms is using them.
Signed-off-by: Juergen Gross <jgross@suse.com>
---
Makefile | 3 ---
1 file changed, 3 deletions(-)
diff --git a/Makefile b/Makefile
index a64913a..7510d5d 100644
--- a/Makefile
+++ b/Makefile
@@ -164,9 +164,6 @@ ifeq ($(CONFIG_LIBXENMANAGE),y)
APP_LDLIBS += -L$(MANAGE_PATH) -whole-archive -lxenmanage -no-whole-archive
LIBS += $(MANAGE_PATH)/libxenmanage.a
endif
-APP_LDLIBS += -lpci
-APP_LDLIBS += -lz
-APP_LDLIBS += -lm
LDLIBS += -lc
endif
--
2.55.0
next reply other threads:[~2026-08-13 14:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-13 14:35 Juergen Gross [this message]
2026-08-13 21:18 ` [MINI-OS PATCH] build: don't add -lm -lpci -lz to APP_LDLIBS Samuel Thibault
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260813143536.3607406-1-jgross@suse.com \
--to=jgross@suse.com \
--cc=minios-devel@lists.xenproject.org \
--cc=samuel.thibault@ens-lyon.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.