From da34992921819d068c36812d401cb69799ce61de Mon Sep 17 00:00:00 2001 From: Benjamin Kaduk Date: Wed, 25 Mar 2015 00:26:42 -0400 Subject: [PATCH] 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 --- src/libafs/MakefileProto.FBSD.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5