abinfo "Removing spurious executable bits ..."
# Reference: https://src.fedoraproject.org/rpms/ecl/blob/rawhide/f/ecl.spec
find c -type f -perm /0111 | xargs chmod -v a-x
find h -type f -perm /0111 | xargs chmod -v a-x

abinfo "Tweaking compiler flags ..."
export CPPFLAGS="$(pkg-config --cflags libffi)"
export CFLAGS="$(pkg-config --cflags libffi) -Wno-unused -Wno-return-type -Wno-unknown-pragmas"
unset LDFLAGS

