13
0

fix OSX/Clang optimized builds

not quite sure how -fomit-frame-pointer can make a difference with 64bit
builds, but it does crash on start in 
gdk_window_new -> .. -> [NSColor _controlColor] -> GetThemeImage
-> _NSAppKitThemeLock  with no other threads involved.

full backtrace: http://pastebin.com/FxsCMzSY
This commit is contained in:
Robin Gareus 2015-03-10 14:28:17 +01:00
parent e7b0e67bc8
commit 1199fe2f90

View File

@ -124,6 +124,7 @@ compiler_flags_dictionaries['clang'] = clang_dict;
clang_darwin_dict = compiler_flags_dictionaries['clang'].copy();
clang_darwin_dict['cxx-strict'] = [ '-ansi', '-Wnon-virtual-dtor', '-Woverloaded-virtual', ]
clang_darwin_dict['full-optimization'] = [ '-O3', '-ffast-math', '-fstrength-reduce' ]
compiler_flags_dictionaries['clang-darwin'] = clang_darwin_dict;
def fetch_git_revision ():