diff options
Diffstat (limited to 'sys/modules/bios/smapi/Makefile')
-rw-r--r-- | sys/modules/bios/smapi/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/modules/bios/smapi/Makefile b/sys/modules/bios/smapi/Makefile index 16d832e..e2f50e5 100644 --- a/sys/modules/bios/smapi/Makefile +++ b/sys/modules/bios/smapi/Makefile @@ -7,9 +7,9 @@ KMOD= smapi SRCS= smapi.c smapi_bios.S \ bus_if.h device_if.h WERROR= -.if ${CC:T:Mclang} == "clang" -# XXX: clang integrated-as doesn't grok 16-bit assembly yet -CFLAGS+= ${.IMPSRC:T:Msmapi_bios.S:C/^.+$/-no-integrated-as/} -.endif .include <bsd.kmod.mk> + +# XXX: clang integrated-as doesn't grok 16-bit assembly yet +CFLAGS.smapi_bios.S= ${CLANG_NO_IAS} +CFLAGS+= ${CFLAGS.${.IMPSRC:T}} |