From 0b838cc74ccf8c6de1941f993559988937c0ae3e Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Wed, 11 Sep 2024 23:30:19 +0000 Subject: [PATCH] extra/ruby: fix --- extra/ruby/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 \