Landlock fix for v6.1-rc4
-----BEGIN PGP SIGNATURE----- iIYEABYIAC4WIQSVyBthFV4iTW/VU1/l49DojIL20gUCY2VLRRAcbWljQGRpZ2lr b2QubmV0AAoJEOXj0OiMgvbSejwBAMOIza4vHY0nL5a+C6jQGBjEdueSic8m4K8P cOOHEn3AAP44Bf1skIMIrgOL7VE+aGCJoIYWiN+rs/tBKYyPnO0gBQ== =gW7y -----END PGP SIGNATURE----- Merge tag 'landlock-6.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux Pull landlock fix from Mickaël Salaün: "Fix the test build for some distros" * tag 'landlock-6.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux: selftests/landlock: Build without static libraries
This commit is contained in:
Коммит
5d8401be15
|
@ -3,7 +3,6 @@
|
|||
# First run: make -C ../../../.. headers_install
|
||||
|
||||
CFLAGS += -Wall -O2 $(KHDR_INCLUDES)
|
||||
LDLIBS += -lcap
|
||||
|
||||
LOCAL_HDRS += common.h
|
||||
|
||||
|
@ -13,10 +12,12 @@ TEST_GEN_PROGS := $(src_test:.c=)
|
|||
|
||||
TEST_GEN_PROGS_EXTENDED := true
|
||||
|
||||
# Static linking for short targets:
|
||||
# Short targets:
|
||||
$(TEST_GEN_PROGS): LDLIBS += -lcap
|
||||
$(TEST_GEN_PROGS_EXTENDED): LDFLAGS += -static
|
||||
|
||||
include ../lib.mk
|
||||
|
||||
# Static linking for targets with $(OUTPUT)/ prefix:
|
||||
# Targets with $(OUTPUT)/ prefix:
|
||||
$(TEST_GEN_PROGS): LDLIBS += -lcap
|
||||
$(TEST_GEN_PROGS_EXTENDED): LDFLAGS += -static
|
||||
|
|
Загрузка…
Ссылка в новой задаче