community/ruby2.2: enable on aarch64

add no-omit-frame-pointer to CPPFLAGS
This commit is contained in:
Carlo Landmeter 2016-08-22 15:01:21 +00:00
parent 6cc513143e
commit 1a408c81ef

View File

@ -9,7 +9,7 @@ _abiver="$_majorver.0"
pkgrel=0
pkgdesc="An object-oriented language for quick and easy programming"
url="http://www.ruby-lang.org/en/"
arch="all !aarch64"
arch="all"
license="Ruby"
depends=""
depends_dev="gmp-dev"
@ -47,6 +47,7 @@ build() {
# In many places aliasing rules are broken; play it safe
# as it's risky with newer compilers to leave it as it is.
export CFLAGS="$CFLAGS -fno-omit-frame-pointer -fno-strict-aliasing"
export CPPFLAGS="$CPPFLAGS -fno-omit-frame-pointer -fno-strict-aliasing"
# ruby saves path to install. we want use $PATH
export INSTALL=install