eval "$(
  declare -f build | \
    sed '
      3 i CFLAGS="$CFLAGS -Wno-error=int-to-pointer-cast"
    '
)"