mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +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>
|
||||
# - generalize arch-dependent removal of gem remains
|
||||
# - add -Wno-incompatible-pointer-types to C(XX)FLAGS
|
||||
|
||||
pkgname=(
|
||||
ruby
|
||||
|
@ -165,8 +166,8 @@ build() {
|
|||
cd "ruby-${pkgver}"
|
||||
|
||||
# this uses malloc_usable_size, which is incompatible with fortification level 3
|
||||
export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
|
||||
export CXXFLAGS="${CXXFLAGS/_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} -Wno-incompatible-pointer-types"
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
|
|
Loading…
Reference in a new issue