kumquat-buildroot/package/hawktracer/hawktracer.mk
Fabrice Fontaine 656aec42d9 package/hawktracer: bump to 3c22b3908912e2ec727fd2ddc5dbfe7464e6b4a5
This bump will fix the following build failure with gcc >= 12:

/tmp/instance-8/output-1/build/hawktracer-2ec19d71923344148928ef45fce549eda67030a4/hawktracer.cpp: In function 'HT_Thread* ht_thread_create(ht_thread_callback_t, void*)':
/tmp/instance-8/output-1/build/hawktracer-2ec19d71923344148928ef45fce549eda67030a4/hawktracer.cpp:1006:28: error: no matching function for call to 'operator new(sizetype, std::thread*)'
 1006 |     new(&th->th) HT_Thread();
      |                            ^

e53b07bc81...2ec19d7192

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-02-25 10:37:23 +01:00

49 lines
1.2 KiB
Makefile

################################################################################
#
# hawktracer
#
################################################################################
HAWKTRACER_VERSION = 3c22b3908912e2ec727fd2ddc5dbfe7464e6b4a5
HAWKTRACER_SITE = $(call github,amzn,hawktracer,$(HAWKTRACER_VERSION))
HAWKTRACER_LICENSE = MIT
HAWKTRACER_LICENSE_FILES = LICENSE
HAWKTRACER_INSTALL_STAGING = YES
HAWKTRACER_CONF_OPTS = \
-DENABLE_ASAN=OFF \
-DENABLE_TESTS=OFF \
-DENABLE_CODE_COVERAGE=OFF \
-DENABLE_BENCHMARKS=OFF \
-DENABLE_DOC=OFF \
-DENABLE_PYTHON_BINDINGS=OFF \
-DENABLE_MAINTAINER_MODE=OFF \
-DENABLE_RELEASE_MODE=OFF \
-DENABLE_CLIENT=OFF \
-DENABLE_EXAMPLES=OFF
ifeq ($(BR2_STATIC_LIBS),y)
HAWKTRACER_CONF_OPTS += -DBUILD_STATIC_LIB=ON
else
HAWKTRACER_CONF_OPTS += -DBUILD_STATIC_LIB=OFF
endif
ifeq ($(BR2_PACKAGE_HAWKTRACER_TCP_LISTENER),y)
HAWKTRACER_CONF_OPTS += -DENABLE_TCP_LISTENER=ON
else
HAWKTRACER_CONF_OPTS += -DENABLE_TCP_LISTENER=OFF
endif
# Enable threads support if supported by toolchain
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
HAWKTRACER_CONF_OPTS += \
-DENABLE_CPU_USAGE_FEATURE=ON \
-DENABLE_THREADS=ON
else
HAWKTRACER_CONF_OPTS += \
-DENABLE_CPU_USAGE_FEATURE=OFF \
-DENABLE_THREADS=OFF
endif
$(eval $(cmake-package))