PKGNAME=dynamorio
PKGSEC=devel
PKGDES="A dynamic instrumentation tool platform"
PKGDEP="zlib qt-5"
BUILDDEP="perl doxygen"

# FIXME: error: type of ‘drutil_insert_get_mem_addr_ex’ does not match original declaration [-Werror=lto-type-mismatch]
NOLTO=1
# DynamoRIO expects .debug files to exist
ABSPLITDBG=0
# -Werror fails
CMAKE_AFTER="-DDISABLE_WARNINGS=ON \
             -DPYTHON_EXECUTABLE=/usr/bin/python3"
# Required for building custom tools
NOSTATIC=0
# DynamoRIO only supports these archs
FAIL_ARCH="!(amd64|arm64)"
