diff options
| author | Carlo Lanmdeter <clandmeter@gmail> | 2009-03-09 12:06:47 +0000 |
|---|---|---|
| committer | Carlo Lanmdeter <clandmeter@gmail> | 2009-03-09 12:06:47 +0000 |
| commit | 5f57372ee3abd686516d9bb903065e0a7e6351fd (patch) | |
| tree | 3e588762985be09becfe419c05a1379b0708b98c /extra/ruby | |
| parent | d5edf9309a64a1afcfbab5efb25f86bd174de644 (diff) | |
| download | aports-5f57372ee3abd686516d9bb903065e0a7e6351fd.tar.bz2 aports-5f57372ee3abd686516d9bb903065e0a7e6351fd.tar.xz | |
extra/ruby: changed CFLAGS
Diffstat (limited to 'extra/ruby')
| -rw-r--r-- | extra/ruby/APKBUILD | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extra/ruby/APKBUILD b/extra/ruby/APKBUILD index 0344fb3c6d..e046452380 100644 --- a/extra/ruby/APKBUILD +++ b/extra/ruby/APKBUILD @@ -17,6 +17,11 @@ source="ftp://ftp.ruby-lang.org/pub/ruby/1.8/${pkgname}-${_pkgver}.tar.bz2" build() { cd "$srcdir/$pkgname-${_pkgver}" + # -fomit-frame-pointer makes ruby segfault, see gentoo bug #150413 + # 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" + ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ |
