diff options
author | Robin Gareus <robin@gareus.org> | 2015-03-10 14:28:17 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-03-10 14:32:06 +0100 |
commit | 1199fe2f90d3b2b7361eff270ae3f3bd85f4af62 (patch) | |
tree | 7604c044a08af14ca55c5c9951c12521083b9cbd /wscript | |
parent | e7b0e67bc8e1b546b587ffd803b81ad5e67c171a (diff) |
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
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 (): |