diff --git a/configure.in b/configure.in index 367aa61f04..62ca7b860b 100644 --- a/configure.in +++ b/configure.in @@ -138,6 +138,8 @@ if test "x${ax_cv_c_compiler_vendor}" = "xsun" ; then APR_ADDTO(SWITCH_AM_LDFLAGS, -R${prefix}/lib) if test "${enable_64}" = "yes"; then APR_ADDTO(SWITCH_AM_CFLAGS, -m64) + APR_ADDTO(SWITCH_AM_CXXFLAGS, -m64) + APR_ADDTO(SWITCH_AM_LDFLAGS, -m64) fi elif test "x${ax_cv_c_compiler_vendor}" = "xgnu" ; then APR_ADDTO(SWITCH_AM_CFLAGS, -fPIC)