Add -isysroot to list of INCLUDE_FLAGS.

This commit is contained in:
Dan Schmidt 2013-11-23 09:13:41 -05:00
parent cf6211055e
commit 457d2a5eac

View File

@ -28,7 +28,7 @@ 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=' ]
INCLUDE_FLAGS = [ '-isystem', '-I', '-iquote', '--sysroot=', '-isysroot' ]
class Flags( object ):
"""Keeps track of the flags necessary to compile a file.