diff options
author | Morten Johan Sørvig <morten.sorvig@nokia.com> | 2009-12-08 13:30:38 (GMT) |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@nokia.com> | 2009-12-08 13:50:03 (GMT) |
commit | 971acc6d34559a2c5035888a5891ea29ad8628af (patch) | |
tree | 3db75eb996c46bd64012b132415262b86be4033f /configure | |
parent | 3f5e4ed4d2b110f4c6e952b74c9f852a2dc14a54 (diff) | |
download | Qt-971acc6d34559a2c5035888a5891ea29ad8628af.zip Qt-971acc6d34559a2c5035888a5891ea29ad8628af.tar.gz Qt-971acc6d34559a2c5035888a5891ea29ad8628af.tar.bz2 |
Compile with -no-exceptions on Mac.
qfontdialog_mac.mm needs to handle exceptions thrown by Cocoa,
even if Qt is configured with if -no-exceptions.
This ads a bit of qmake logic for the benefit of a single file,
but I would like to keep -no-exceptions working. The savings
are significant (around 10-15%).
Revby: Richard Moe Gustavsen
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -131,7 +131,7 @@ compilerSupportsFlag() cat >conftest.cpp <<EOF int main() { return 0; } EOF - "$TEST_COMPILER" "$@" -o /dev/null conftest.cpp + "$TEST_COMPILER" "$@" -o conftest.o conftest.cpp ret=$? rm -f conftest.cpp conftest.o return $ret |