diff options
author | imp <imp@FreeBSD.org> | 2015-01-05 12:28:22 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2015-01-05 12:28:22 +0000 |
commit | 2c0af1c89755a8fe945b4e1746f37c1fa2a87439 (patch) | |
tree | 7d5f53ed6c06720d9d9f32e3b8dd14d5c4d77b6c /sys/conf/Makefile.pc98 | |
parent | 47d4a0fc0c187c95706f48032f8a97325b9c056a (diff) | |
download | FreeBSD-src-2c0af1c89755a8fe945b4e1746f37c1fa2a87439.zip FreeBSD-src-2c0af1c89755a8fe945b4e1746f37c1fa2a87439.tar.gz |
Clang's 3.5 integrated assembler now handles these files correctly (it
has support for the .codeXX directives). However, it is desirable, for
a time, to allow kernels to be built with clang 3.4. Historically, it
has been advantageous to allow stable X-1 to build kernels the old
way (so long as the impact of doing so is small), and this restores
that ability.
Also, centralize the addition of ${ASM_CFLAGS.${.IMPSRC}}, place it in
kern.mk rather than kern.pre.mk so that all modules can benefit, and
give the same treatment to CFLAGS in kern.mk as well.
Diffstat (limited to 'sys/conf/Makefile.pc98')
-rw-r--r-- | sys/conf/Makefile.pc98 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98 index 28d0956..9d0f25b 100644 --- a/sys/conf/Makefile.pc98 +++ b/sys/conf/Makefile.pc98 @@ -30,6 +30,8 @@ S= ../../.. .endif .include "$S/conf/kern.pre.mk" +ASM_CFLAGS.mpboot.s= ${CLANG_NO_IAS34} + %BEFORE_DEPEND %OBJS |