diff --git a/wxPython/setup.py b/wxPython/setup.py index 3d556cdbde..261ccbfccc 100755 --- a/wxPython/setup.py +++ b/wxPython/setup.py @@ -440,6 +440,8 @@ elif os.name == 'posix' and sys.platform[:6] == "darwin": if debug: cflags.append('-g') cflags.append('-O0') + else: + cflags.append('-O3') lflags = os.popen(WX_CONFIG + ' --libs', 'r').read()[:-1] lflags = lflags.split()