summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2009-12-08 13:30:38 (GMT)
committerMorten Johan Sørvig <morten.sorvig@nokia.com>2009-12-08 13:50:03 (GMT)
commit971acc6d34559a2c5035888a5891ea29ad8628af (patch)
tree3db75eb996c46bd64012b132415262b86be4033f /configure
parent3f5e4ed4d2b110f4c6e952b74c9f852a2dc14a54 (diff)
downloadQt-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-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6dc3898..486dc0c 100755
--- a/configure
+++ b/configure
@@ -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