# It seems, compiling for i686 is as simple as specifying you want i686.

eval "$(
  declare -f build check | \
    sed '
      s|x86-64|i686|
      s|make |make default_pic=true|
    '
)"