kumquat-buildroot/package/oatpp/oatpp.mk
Fabrice Fontaine 6a94b0b763 package/oatpp: fix uclibc build
Fix the following uclibc build failure raised since the addition of the
package in commit d5bba26801:

In file included from /home/autobuild/autobuild/instance-4/output-1/build/oatpp-1.3.0/src/oatpp/algorithm/CRC.hpp:28,
                 from /home/autobuild/autobuild/instance-4/output-1/build/oatpp-1.3.0/src/oatpp/algorithm/CRC.cpp:25:
/home/autobuild/autobuild/instance-4/output-1/build/oatpp-1.3.0/src/oatpp/core/base/Environment.hpp:359:93: error: 'va_list' has not been declared
  359 |   static void vlogFormatted(v_uint32 priority, const std::string& tag, const char* message, va_list args);
      |                                                                                             ^~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/bcdf7548ff752f936defd111d13c63245ea70cbe

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 22:40:15 +01:00

23 lines
646 B
Makefile

################################################################################
#
# oatpp
#
################################################################################
OATPP_VERSION = 1.3.0
OATPP_SITE = $(call github,oatpp,oatpp,$(OATPP_VERSION))
OATPP_LICENSE = Apache-2.0
OATPP_LICENSE_FILES = LICENSE
OATPP_CONF_OPTS = -DBUILD_SHARED_LIBS=OFF
OATPP_INSTALL_STAGING = YES
# Only builds a static lib and headers
OATPP_INSTALL_TARGET = NO
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y)
OATPP_CONF_OPTS += -DOATPP_COMPAT_BUILD_NO_SET_AFFINITY=OFF
else
OATPP_CONF_OPTS += -DOATPP_COMPAT_BUILD_NO_SET_AFFINITY=ON
endif
$(eval $(cmake-package))