1 # SPDX-License-Identifier: GPL-2.0+ 1 # SPDX-License-Identifier: GPL-2.0+ 2 2 3 ifneq ($(shell $(CC) --version 2>&1 | head -n 3 ifneq ($(shell $(CC) --version 2>&1 | head -n 1 | grep clang),) 4 CLANG_FLAGS += -no-integrated-as 4 CLANG_FLAGS += -no-integrated-as 5 endif 5 endif 6 6 7 CFLAGS += -O2 -Wall -g -I./ $(KHDR_INCLUDES) - 7 CFLAGS += -O2 -Wall -g -I./ $(KHDR_INCLUDES) -Wl,-rpath=./ \ 8 $(CLANG_FLAGS) 8 $(CLANG_FLAGS) 9 LDLIBS += -lpthread 9 LDLIBS += -lpthread 10 10 11 TEST_GEN_FILES := cs_prctl_test 11 TEST_GEN_FILES := cs_prctl_test 12 TEST_PROGS := cs_prctl_test 12 TEST_PROGS := cs_prctl_test 13 13 14 include ../lib.mk 14 include ../lib.mk
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.