Put in a temporary band-aid to fix kernel builds when CC=clang, after
r226665.
This commit is contained in:
parent
6f8193d2c4
commit
30ce7fee44
@ -7,7 +7,7 @@ FREEBSD_GCC!= ${CC} --version | grep FreeBSD || true
|
|||||||
#
|
#
|
||||||
# Warning flags for compiling the kernel and components of the kernel:
|
# Warning flags for compiling the kernel and components of the kernel:
|
||||||
#
|
#
|
||||||
.if ${FREEBSD_GCC}
|
.if defined(FREEBSD_GCC) && ${FREEBSD_GCC}
|
||||||
# FreeBSD extensions, not available in upstream GCC
|
# FreeBSD extensions, not available in upstream GCC
|
||||||
format_extensions= -fformat-extensions
|
format_extensions= -fformat-extensions
|
||||||
no_align_long_strings= -mno-align-long-strings
|
no_align_long_strings= -mno-align-long-strings
|
||||||
|
Loading…
Reference in New Issue
Block a user