SHLIB_SUFFIX="so"
CCOBJ="\$(CC)"
MT_CC="\$(CC)"
-XLIBS="${LIB_AFSDB} ${XBSA_XLIBS} ${LIB_libintl}"
+XLIBS="${LIB_AFSDB} ${LIB_libintl}"
MT_LIBS='-lpthread ${XLIBS}'
XCFLAGS=
SHLIB_LINKER="${CC} -shared"
;;
- arm_linux_24 | arm_linux26)
+ arm_linux_24 | arm_linux26 | arm64_linux26)
CCOBJ="\$(CC) -fPIC"
MT_CFLAGS='-pthread -D_REENTRANT'
PAM_OPTMZ=-O2
EXTRA_VLIBOBJS="fstab.o"
SHLIB_LINKER="${CC} \${ARCHFLAGS} -dynamiclib"
SHLIB_SUFFIX="dylib"
- XLIBS="${LIB_AFSDB} ${XBSA_XLIBS} -framework CoreFoundation"
+ XLIBS="${LIB_AFSDB} -framework CoreFoundation"
;;
*_darwin_80)
SHLIB_LINKER="${CC} \${ARCHFLAGS} -dynamiclib"
SHLIB_SUFFIX="dylib"
RANLIB="ranlib -c"
- XLIBS="${LIB_AFSDB} ${XBSA_XLIBS} -framework CoreFoundation"
+ XLIBS="${LIB_AFSDB} -framework CoreFoundation"
;;
*_darwin_90)
SHLIB_LINKER="${CC} \${ARCHFLAGS} -dynamiclib"
SHLIB_SUFFIX="dylib"
RANLIB="ranlib -c"
- XLIBS="${LIB_AFSDB} ${XBSA_XLIBS} -framework CoreFoundation"
+ XLIBS="${LIB_AFSDB} -framework CoreFoundation"
;;
arm_darwin_100)
SHLIB_LINKER="${CC} -dynamiclib"
SHLIB_SUFFIX="dylib"
RANLIB="ranlib"
- XLIBS="${LIB_AFSDB} ${XBSA_XLIBS} -framework CoreFoundation"
+ XLIBS="${LIB_AFSDB} -framework CoreFoundation"
;;
- *_darwin_100 | *_darwin_110 | *_darwin_120 | *_darwin_130 | *_darwin_140 )
+ *_darwin_100 | *_darwin_110 | *_darwin_120 | *_darwin_130 | *_darwin_140 | *_darwin_150 | *_darwin_160 | *_darwin_170)
AFSD_LDFLAGS="-F/System/Library/PrivateFrameworks -framework DiskArbitration -framework SystemConfiguration -framework IOKit -framework CoreFoundation"
MT_CFLAGS="-D_REENTRANT"
MT_LIBS='${XLIBS}'
SHLIB_LINKER="${CC} \${ARCHFLAGS} -dynamiclib"
SHLIB_SUFFIX="dylib"
RANLIB="ranlib"
- XLIBS="${LIB_AFSDB} ${XBSA_XLIBS} -framework CoreFoundation"
+ XLIBS="${LIB_AFSDB} -framework CoreFoundation"
;;
ppc_linux*)
CFLAGS="$CFLAGS ${XARCHFLAGS}"
LD="/usr/ccs/bin/ld"
MT_CFLAGS='-mt'
+ KERN_OPTMZ="-xO3"
PAM_CFLAGS="-KPIC"
PAM_LIBS="-lc -lpam -lsocket -lnsl -lm"
SHLIB_CFLAGS="-KPIC"
AS_CASE([$AFS_SYSNAME],
[sunx86_510|sunx86_511],
dnl Somewhere around Solaris Studio 12.*, the compiler started adding SSE
- dnl instructions to optimized code, without any ability to turn it off.
- dnl So just default to not optimizing kernel code for the relevant
- dnl platforms, until we get a better autoconf test for this.
- [enable_optimize_kernel=no],
+ dnl instructions to optimized code, without any known way to turn it off.
+ dnl To cope, this condition was added to change the default to
+ dnl 'no'.
+ dnl Now that we have an autoconf test to allow disabling the SSE
+ dnl optimizations, it's safe to once more default to 'yes' here.
+ [enable_optimize_kernel=yes],
[enable_optimize_kernel=yes])
fi
fi
CFLAGS_NOERROR=
-CFLAGS_NOSTRICT=
+CFLAGS_NOSTRICT=-fno-strict-aliasing
CFLAGS_NOUNUSED=
CFLAGS_NOOLDSTYLE=
XCFLAGS_NOCHECKING="$XCFLAGS"
XCFLAGS="${XCFLAGS} -Wall -Wstrict-prototypes -Wold-style-definition -Werror -fdiagnostics-show-option -Wpointer-arith"
if test "x$enable_checking" != "xall"; then
CFLAGS_NOERROR="-Wno-error"
- CFLAGS_NOSTRICT="-fno-strict-aliasing"
CFLAGS_NOUNUSED="-Wno-unused"
CFLAGS_NOOLDSTYLE="-Wno-old-style-definition"
AC_DEFINE(IGNORE_SOME_GCC_WARNINGS, 1, [define to disable some gcc warnings in warnings-as-errors mode])
+ else
+ CFLAGS_NOSTRICT=
fi
fi
else