Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-async-module
Commits
98456ad1
Commit
98456ad1
authored
Mar 21, 2016
by
Charlie Jacobsen
Browse files
Add support for clang builds.
Need way to change kbuild CC and modify kbuild cflags.
parent
a484d564
Changes
2
Hide whitespace changes
Inline
Side-by-side
fast-ipc-module
@
b7366e61
Compare
658d3ff3
...
b7366e61
Subproject commit
658d3ff360dc19214966e91e8bebfee611d86f4c
Subproject commit
b7366e61b280c0514e48965a8f5d683ff5578013
src/Kbuild.in
View file @
98456ad1
...
...
@@ -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 += \
$(COMMON_SRCS:.c=.o)
# 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).
KBUILD_CFLAGS := $(filter-out $(LIBASYNC_BAD_CFLAGS), $(KBUILD_CFLAGS))
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment