17114ebbab
Configure script is used to detect options supported by the target compiler, but those options are then incorrectly used by the targets compiled using a host compiler. configure: checking whether CC supports -fstack-protector-strong... yes make: /usr/bin/gcc (...) cc1: error: unrecognized command line option "-fstack-protector-strong" Fixes: http://autobuild.buildroot.net/results/4c0/4c06dfa35ef52f6522619f797a9ae4e7a2e45d04/ http://autobuild.buildroot.net/results/788/78886670cff406a09bd08808d9a6e328ee75634b/ Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
21 lines
726 B
Makefile
21 lines
726 B
Makefile
################################################################################
|
|
#
|
|
# libkcapi
|
|
#
|
|
################################################################################
|
|
|
|
LIBKCAPI_VERSION = 79cb80714ebcbae2b9de9bb5aca9a6a546f2f121
|
|
LIBKCAPI_SITE = $(call github,smuellerDD,libkcapi,$(LIBKCAPI_VERSION))
|
|
LIBKCAPI_AUTORECONF = YES
|
|
LIBKCAPI_INSTALL_STAGING = YES
|
|
LIBKCAPI_LICENSE = BSD-3c (library), BSD-3c or GPLv2 (programs)
|
|
LIBKCAPI_LICENSE_FILES = COPYING COPYING.gplv2 COPYING.bsd
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBKCAPI_APPS),y)
|
|
LIBKCAPI_CONF_OPTS += --enable-kcapi-speed --enable-kcapi-test --enable-apps
|
|
else
|
|
LIBKCAPI_CONF_OPTS += --disable-kcapi-speed --disable-kcapi-test --disable-apps
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|