diff options
author | Matt Liberty <matt.liberty@gmail.com> | 2013-09-27 13:00:05 -0700 |
---|---|---|
committer | Matt Liberty <matt.liberty@gmail.com> | 2013-09-27 13:00:05 -0700 |
commit | 4284ba490041ba71f87b820eda3a11754a3c56ac (patch) | |
tree | 863add0e9f263ff26a32e3fa5866f9c6bc0f76fe /quackleio | |
parent | 9306cb60c32082c5403931de0823a9fd5daa196c (diff) |
Add -fpermissive for OSX Mountain Lion build error
Diffstat (limited to 'quackleio')
-rw-r--r-- | quackleio/iotest/iotest.pro | 4 | ||||
-rw-r--r-- | quackleio/quackleio.pro | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/quackleio/iotest/iotest.pro b/quackleio/iotest/iotest.pro index 8550691..86d32a3 100644 --- a/quackleio/iotest/iotest.pro +++ b/quackleio/iotest/iotest.pro @@ -27,3 +27,7 @@ win32:!win32-g++ { QMAKE_CFLAGS_RELEASE ~= s/-MD/-MT/ QMAKE_CXXFLAGS_RELEASE ~= s/-MD/-MT/ } + +macx-g++ { + QMAKE_CXXFLAGS += -fpermissive +} diff --git a/quackleio/quackleio.pro b/quackleio/quackleio.pro index e883fb6..3b88779 100644 --- a/quackleio/quackleio.pro +++ b/quackleio/quackleio.pro @@ -32,3 +32,7 @@ win32:!win32-g++ { QMAKE_CFLAGS_RELEASE ~= s/-MD/-MT/ QMAKE_CXXFLAGS_RELEASE ~= s/-MD/-MT/ } + +macx-g++ { + QMAKE_CXXFLAGS += -fpermissive +} |