5f154799b6
Since bump to version 3.09 in commit
28b4947ed8
, build fails on:
[100%] Linking CXX shared library libBulletRoboticsGUI.so
/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc64-buildroot-linux-gnu/9.3.0/../../../../sparc64-buildroot-linux-gnu/bin/ld: cannot find -lBulletExampleBrowserLib
Upstream is aware of this issue and recommends to avoid changing any
options: https://github.com/bulletphysics/bullet3/issues/3143
So don't disable bullet3 and demos apps ...
Fixes:
- http://autobuild.buildroot.org/results/1721df8b0859656f7420b0b166d1ca635e5ddc74
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Arnout: remove the options instead of setting to ON]
34 lines
951 B
Makefile
34 lines
951 B
Makefile
################################################################################
|
|
#
|
|
# bullet
|
|
#
|
|
################################################################################
|
|
|
|
BULLET_VERSION = 3.09
|
|
BULLET_SITE = $(call github,bulletphysics,bullet3,$(BULLET_VERSION))
|
|
BULLET_INSTALL_STAGING = YES
|
|
BULLET_LICENSE = Zlib
|
|
BULLET_LICENSE_FILES = LICENSE.txt
|
|
|
|
# Disable unit tests.
|
|
# Don't disable demos apps and Bullet3 library to avoid a build failure:
|
|
# https://github.com/bulletphysics/bullet3/issues/3143
|
|
BULLET_CONF_OPTS = -DBUILD_UNIT_TESTS=OFF
|
|
|
|
# extras needs dlfcn.h and NPTL (pthread_barrier_init)
|
|
ifeq ($(BR2_STATIC_LIBS):$(BR2_TOOLCHAIN_HAS_THREADS_NPTL),:y)
|
|
BULLET_CONF_OPTS += -DBUILD_EXTRAS=ON
|
|
else
|
|
BULLET_CONF_OPTS += -DBUILD_EXTRAS=OFF
|
|
endif
|
|
|
|
BULLET_CXXFLAGS = $(TARGET_CXXFLAGS)
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
|
|
BULLET_CXXFLAGS += -O0
|
|
endif
|
|
|
|
BULLET_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(BULLET_CXXFLAGS)"
|
|
|
|
$(eval $(cmake-package))
|