mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/ruby: fix
This commit is contained in:
parent
d67244e125
commit
0b838cc74c
1 changed files with 3 additions and 2 deletions
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - generalize arch-dependent removal of gem remains
|
# - generalize arch-dependent removal of gem remains
|
||||||
|
# - add -Wno-incompatible-pointer-types to C(XX)FLAGS
|
||||||
|
|
||||||
pkgname=(
|
pkgname=(
|
||||||
ruby
|
ruby
|
||||||
|
@ -165,8 +166,8 @@ build() {
|
||||||
cd "ruby-${pkgver}"
|
cd "ruby-${pkgver}"
|
||||||
|
|
||||||
# this uses malloc_usable_size, which is incompatible with fortification level 3
|
# this uses malloc_usable_size, which is incompatible with fortification level 3
|
||||||
export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
|
export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2} -Wno-incompatible-pointer-types"
|
||||||
export CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
|
export CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2} -Wno-incompatible-pointer-types"
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
|
Loading…
Reference in a new issue