Add the architecture to the shared compile flags in configure.
diff --git a/configure b/configure index 05bee1f..fa53983 100755 --- a/configure +++ b/configure
@@ -244,6 +244,7 @@ SFLAGS="${CFLAGS--O3}" if test "$ARCHS"; then CFLAGS="${CFLAGS} ${ARCHS}" + SFLAGS="${SFLAGS} ${ARCHS}" LDFLAGS="${LDFLAGS} ${ARCHS}" fi if test $build64 -eq 1; then