Skip to content
Snippets Groups Projects
Commit 3a1dbb39 authored by Natanael Copa's avatar Natanael Copa
Browse files

testing/openscenegraph: fix build with arm and aarch64

parent 48ea25ac
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ pkgver=3.4.0
pkgrel=1
pkgdesc="High performance 3D graphics toolkit"
url="https://openscenegraph.org"
arch="x86 x86_64"
arch="all"
license="Custom"
depends=
depends_dev=
......@@ -20,7 +20,10 @@ builddir="$srcdir"/OpenSceneGraph-$pkgver
prepare() {
cd "$builddir"
default_prepare || return 1
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release || return 1
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-narrowing" \
|| return 1
}
build() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment