From 72d453cbfcbabcc1170713c5248d91aea4110925 Mon Sep 17 00:00:00 2001 From: Samuel Martin Date: Thu, 21 Aug 2014 22:45:19 +0200 Subject: [PATCH] package/cdrkit: clean {HOST_, }CDRKIT_CONF_OPT Extending {C,LD}FLAGS for both host and target cdrkit package is not needed because it is already handled by the {host-,}cmake-package infrastructure. Signed-off-by: Samuel Martin Signed-off-by: Peter Korsgaard --- package/cdrkit/cdrkit.mk | 7 ------- 1 file changed, 7 deletions(-) diff --git a/package/cdrkit/cdrkit.mk b/package/cdrkit/cdrkit.mk index 7474fffbf2..ff7bf4aed8 100644 --- a/package/cdrkit/cdrkit.mk +++ b/package/cdrkit/cdrkit.mk @@ -16,12 +16,5 @@ else CDRKIT_CONF_OPT += -DBITFIELDS_HTOL=0 endif -## cdrkit isn't completely re-rooted by CMAKE_FIND_ROOT_PATH, so add -## some extra flags so it finds needed libs and headers. -CDRKIT_CONF_OPT += -DCMAKE_C_FLAGS="-I$(STAGING_DIR)/usr/include" -CDRKIT_CONF_OPT += -DCMAKE_EXE_LINKER_FLAGS="$(TARGET_LDFLAGS)" -HOST_CDRKIT_CONF_OPT += -DCMAKE_C_FLAGS="-I$(HOST_DIR)/usr/include" -HOST_CDRKIT_CONF_OPT += -DCMAKE_EXE_LINKER_FLAGS="$(HOST_LDFLAGS)" - $(eval $(cmake-package)) $(eval $(host-cmake-package)) -- 2.30.2