1f08c3bdfSopenharmony_ci# SPDX-License-Identifier: GPL-2.0-or-later 2f08c3bdfSopenharmony_ci# Copyright (c) 2017 Linux Test Project 3f08c3bdfSopenharmony_ci 4f08c3bdfSopenharmony_citop_srcdir ?= ../.. 5f08c3bdfSopenharmony_ci 6f08c3bdfSopenharmony_ciinclude $(top_srcdir)/include/mk/testcases.mk 7f08c3bdfSopenharmony_ci 8f08c3bdfSopenharmony_ciCFLAGS += -D_GNU_SOURCE 9f08c3bdfSopenharmony_ci 10f08c3bdfSopenharmony_cistack_clash: CFLAGS += -fno-optimize-sibling-calls 11f08c3bdfSopenharmony_ci 12f08c3bdfSopenharmony_cicve-2016-7042: LDLIBS += $(KEYUTILS_LIBS) 13f08c3bdfSopenharmony_ci 14f08c3bdfSopenharmony_cicve-2014-0196 cve-2016-7117 cve-2017-2671 cve-2017-17052 cve-2017-17053: CFLAGS += -pthread 15f08c3bdfSopenharmony_cicve-2014-0196 cve-2016-7117 cve-2017-2671: LDLIBS += -lrt 16f08c3bdfSopenharmony_ci 17f08c3bdfSopenharmony_ciifneq ($(ANDROID),1) 18f08c3bdfSopenharmony_cicve-2014-0196: LDLIBS += -lutil 19f08c3bdfSopenharmony_ciendif 20f08c3bdfSopenharmony_ci 21f08c3bdfSopenharmony_ciifneq (,$(filter $(HOST_CPU),x86 x86_64)) 22f08c3bdfSopenharmony_cimeltdown: CFLAGS += -msse2 23f08c3bdfSopenharmony_ciendif 24f08c3bdfSopenharmony_ci 25f08c3bdfSopenharmony_cicve-2015-3290: CFLAGS += -pthread -fomit-frame-pointer 26f08c3bdfSopenharmony_ci 27f08c3bdfSopenharmony_ciinclude $(top_srcdir)/include/mk/generic_leaf_target.mk 28