Commit 98456ad1 authored by Charlie Jacobsen's avatar Charlie Jacobsen
Browse files

Add support for clang builds.

Need way to change kbuild CC and modify kbuild cflags.
parent a484d564
Subproject commit 658d3ff360dc19214966e91e8bebfee611d86f4c
Subproject commit b7366e61b280c0514e48965a8f5d683ff5578013
......@@ -13,9 +13,17 @@
# in the kernel build system.
src = @abs_top_srcdir@/src
# This needs to be pasted in here, because the kernel build system will force
# gcc at the top-level.
export CC=@CC@
# Sources that make up library
lib-y += \
# Pass along include directories from the Automake file
ccflags-y += $(CFLAGS) $(AM_CPPFLAGS) $(AM_CFLAGS)
# Provide option to filter out some kbuild cflags (this is needed for
# clang builds).
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment