osg: fix build

This commit is contained in:
John 2019-05-12 17:02:52 +02:00
parent 052dba5940
commit e0330abbbb
No known key found for this signature in database
GPG key ID: 778558807E4FFC55

View file

@ -23,6 +23,10 @@ homepage="http://www.openscenegraph.org"
distfiles="https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-${version}.tar.gz"
checksum=930eb46f05781a76883ec16c5f49cfb29a059421db131005d75bec4d78401fd5
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qemu-user-static"
fi
# Append CFLAGS and CXXFLAGS to set work around code which gcc6 would
# otherwise regard as out-of-specification and allow it to produce a
# working program.