File configure.patch of Package qore
Index: qore-0.8.11/configure.ac
===================================================================
--- qore-0.8.11.orig/configure.ac
+++ qore-0.8.11/configure.ac
@@ -292,10 +292,7 @@ fi
# FIXME: add test on HP-UX if the compiler can generate the appropriate binaries
if test "$enable_64bit" = "yes"; then
case "${host_os}" in
- *linux*) if test "$GXX" = "yes"; then
- CXXFLAGS="$CXXFLAGS -m64"
- fi
- # only set LIBSUFFIX=64 if /usr/lib64 exists
+ *linux*) # only set LIBSUFFIX=64 if /usr/lib64 exists
if test -d /usr/lib64; then
LIBSUFFIX=64
fi
@@ -348,13 +345,7 @@ if test "$enable_64bit" = "yes"; then
bits=64
else
case "${host_os}" in
- *linux*) if test "$GXX" = "yes"; then
- case "${host_cpu}" in
- arm*) ;;
- *) CXXFLAGS="$CXXFLAGS -m32" ;;
- esac
- fi
- # multiarch
+ *linux*) # multiarch
if test -a "$host_cpu" = "x86_64" -a -d /usr/lib32; then
LIBSUFFIX=32
fi