osg: fix build
This commit is contained in:
parent
052dba5940
commit
e0330abbbb
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue