]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
FBSD: do not set -mno-align-long-strings
authorBenjamin Kaduk <kaduk@mit.edu>
Wed, 25 Mar 2015 04:26:42 +0000 (00:26 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 8 Apr 2015 14:05:34 +0000 (10:05 -0400)
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 <buildbot@rampaginggeek.com>
Reviewed-by: Daria Brashear <shadow@your-file-system.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/libafs/MakefileProto.FBSD.in

index 92461c9f6d967902b1ad491c8dfe930f7c71ad1e..3e15b00d3f62ca43accef069a222b3326b6b25b1 100644 (file)
@@ -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