diff --git a/extra/ruby/PKGBUILD b/extra/ruby/PKGBUILD index 45674442f..26b180959 100644 --- a/extra/ruby/PKGBUILD +++ b/extra/ruby/PKGBUILD @@ -10,6 +10,7 @@ # ALARM: Kevin Mihelich # - 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 \