package/libcec: include TARGET_{C, CXX}FLAGS to the overloaded {C, CXX}FLAGS
Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
1255d0080c
commit
d1a312d209
|
@ -29,8 +29,9 @@ endif
|
|||
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
||||
LIBCEC_DEPENDENCIES += rpi-userland
|
||||
LIBCEC_CONF_OPTS += \
|
||||
-DCMAKE_C_FLAGS="-lvcos -lvchiq_arm" \
|
||||
-DCMAKE_CXX_FLAGS="-I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux \
|
||||
-DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -lvcos -lvchiq_arm" \
|
||||
-DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) \
|
||||
-I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux \
|
||||
-I$(STAGING_DIR)/usr/include/interface/vcos/pthreads"
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue