From: Benjamin Kaduk Date: Wed, 25 Mar 2015 04:26:42 +0000 (-0400) Subject: FBSD: do not set -mno-align-long-strings X-Git-Tag: upstream/1.6.11.1^2~4 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=da34992921819d068c36812d401cb69799ce61de;p=packages%2Fo%2Fopenafs.git FBSD: do not set -mno-align-long-strings The new clang imported for FreeBSD 10.1 has stopped accepting this argument as a no-op. Fix the kernel module build by stopping passing it on the compiler command line. Change-Id: I5557f88abafbfa825213003107830ceac98346ff Reviewed-on: http://gerrit.openafs.org/11809 Tested-by: BuildBot Reviewed-by: Daria Brashear Reviewed-by: Stephan Wiesand --- diff --git a/src/libafs/MakefileProto.FBSD.in b/src/libafs/MakefileProto.FBSD.in index 92461c9f6..3e15b00d3 100644 --- a/src/libafs/MakefileProto.FBSD.in +++ b/src/libafs/MakefileProto.FBSD.in @@ -43,7 +43,7 @@ KOPTS = -fPIC -mno-red-zone KDEFS=-Wall -nostdinc -I/usr/include -D_KERNEL -DKLD_MODULE \ -elf \ -mno-mmx -mno-3dnow -mno-sse -mno-sse2 \ - -mno-align-long-strings -fno-common -ffreestanding \ + -fno-common -ffreestanding \ -I${KBLD} -include opt_global.h -fno-strict-aliasing DBUG = -O2