mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
OpenBSD: Eliminate complaint about built-in malloc.
With OpenBSD 4.8, OpenBSD now uses gcc 4. With its new defaults, the OpenAFS compile of the kernel module now complains incessantly about the conflict between the built-in malloc versus the kernel version (which has extra parameters). Therefore, set -fno-builtin-malloc when compiling the kernel module to remove the noise since the differences can't be reconciled otherwise. Reviewed-on: http://gerrit.openafs.org/3751 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementia.org> (cherry picked from commit 42c5806599c1df65ee8ec1272f691df30ea44d4c) Change-Id: Ifc17880d41f84d621ef33ba3b4ac8be8162f64ad Reviewed-on: http://gerrit.openafs.org/4359 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
0a7de3d7ad
commit
1d147597b9
@ -12,7 +12,7 @@ include @TOP_OBJDIR@/src/config/Makefile.config
|
||||
|
||||
# System specific build commands and flags
|
||||
KSRC = @BSD_KERNEL_PATH@
|
||||
KFLAGS= -Wall -nostdinc
|
||||
KFLAGS= -Wall -fno-builtin-malloc -nostdinc
|
||||
<i386_obsd33>
|
||||
KFLAGS+= -fno-stack-protector
|
||||
<all>
|
||||
|
Loading…
x
Reference in New Issue
Block a user