[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mini-os master] build: don't add -lm -lpci -lz to APP_LDLIBS



commit 26ceb2daf95dd9e7fed9c83d36be3aaf1a0fa8a1
Author:     Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Mon Aug 17 08:29:52 2026 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Aug 17 08:29:52 2026 +0200

    build: don't add -lm -lpci -lz to APP_LDLIBS
    
    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@xxxxxxxx>
    Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
---
 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
 
--
generated by git-patchbot for /home/xen/git/mini-os.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.