Add -include to INCLUDE_FLAGS
The -include flag forces the inclusion of a single file, and is used by (at least) the Linux kernel's build system.
This commit is contained in:
parent
aeb2c5c227
commit
f58b06adde
@ -28,7 +28,8 @@ NO_EXTRA_CONF_FILENAME_MESSAGE = ( 'No {0} file detected, so no compile flags '
|
||||
'DOCS *NOW*, DON\'T file a bug report.' ).format(
|
||||
extra_conf_store.YCM_EXTRA_CONF_FILENAME )
|
||||
|
||||
INCLUDE_FLAGS = [ '-isystem', '-I', '-iquote', '--sysroot=', '-isysroot' ]
|
||||
INCLUDE_FLAGS = [ '-isystem', '-I', '-iquote', '--sysroot=', '-isysroot',
|
||||
'-include' ]
|
||||
|
||||
class Flags( object ):
|
||||
"""Keeps track of the flags necessary to compile a file.
|
||||
|
Loading…
x
Reference in New Issue
Block a user