Skip to content

Commit

Permalink
Mac OS X|qmake: Remove the warning diagnostic gcc option with OS X 10…
Browse files Browse the repository at this point in the history
….4u SDK

The version of gcc in 10.5 doesn't support -fdiagnostics-show-option.
  • Loading branch information
skyjake committed Jul 8, 2012
1 parent fc1e9bb commit aeb631a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/config_macx.pri
Expand Up @@ -64,6 +64,8 @@ else:deng_macx4u_32bit {
QMAKE_CFLAGS += -mmacosx-version-min=10.4
INCLUDEPATH = $$QMAKE_MAC_SDK/usr/X11R6/include $$INCLUDEPATH
DEFINES += MACOS_10_4

QMAKE_CFLAGS_WARN_ON -= -fdiagnostics-show-option
}
else {
error(Unspecified SDK configuration.)
Expand Down

0 comments on commit aeb631a

Please sign in to comment.