Add a .ycm_extra.conf.py script to return the same CFLAGS
we pass for `make debug`. These are passed to libclang
so symbol lookup works correctly.
Note this doesn't pick up changes to the build config,
including non-default locations for the ogg headers,
but it's better than nothing.
--- /dev/null
+def FlagsForFile(filename, **kwargs):
+ return {
+ 'flags': [
+ '-x', 'c',
+ '-g', '-Wall', '-Wextra',
+ '-D_REENTRANT', '-D__NO_MATH_INLINES', '-fsigned-char'
+ ],
+ }