Skip to content

Commit

Permalink
added -std=c++11 for MacOS building with xcode/apple clang 700. (xcod…
Browse files Browse the repository at this point in the history
…e 7.2.1) This is because our Mac Build system is pinned to something really old :(
  • Loading branch information
Marcus10110 committed Feb 16, 2018
1 parent 8ca31de commit babd54e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
link_paths = [ "./AnalyzerSDK/lib" ]
link_dependencies = [ "-lAnalyzer" ] #refers to libAnalyzer.dylib or libAnalyzer.so

debug_compile_flags = "-O0 -w -c -fpic -g"
release_compile_flags = "-O3 -w -c -fpic"
debug_compile_flags = "-O0 -w -c -fpic -g -std=c++11"
release_compile_flags = "-O3 -w -c -fpic -std=c++11"

def run_command(cmd):
"Display cmd, then run it in a subshell, raise if there's an error"
Expand Down

0 comments on commit babd54e

Please sign in to comment.