Browse Source

YCM: tell Clang that we have a 32 bit CPU

Streetwalrus Einstein 10 years ago
parent
commit
3c2d19230b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .ycm_extra_conf.py

+ 1 - 0
.ycm_extra_conf.py

@@ -43,6 +43,7 @@ flags = [
 '-Wno-variadic-macros',
 '-Wno-variadic-macros',
 '-fexceptions',
 '-fexceptions',
 '-DNDEBUG',
 '-DNDEBUG',
+'-m32',
 # You 100% do NOT need -DUSE_CLANG_COMPLETER in your flags; only the YCM
 # You 100% do NOT need -DUSE_CLANG_COMPLETER in your flags; only the YCM
 # source code needs it.
 # source code needs it.
 '-DUSE_CLANG_COMPLETER',
 '-DUSE_CLANG_COMPLETER',