diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-12-17 19:17:11 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-12-17 19:17:11 (GMT) |
commit | 52655b3b5f910fbdd8f6eddbf222bb2b18633f59 (patch) | |
tree | 5829d429951e98f0ce0d25156c0551d7c793f001 /openscad.pro | |
parent | ee2cdb6489121ab5f77522053fd4142fb06a6f2b (diff) |
-fno-strict-aliasing fix for GCC bug & link to wikibooks build instructions.
Diffstat (limited to 'openscad.pro')
-rw-r--r-- | openscad.pro | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/openscad.pro b/openscad.pro index e38251a..ac49807 100644 --- a/openscad.pro +++ b/openscad.pro @@ -8,6 +8,10 @@ # OPENCSGDIR # OPENSCAD_LIBRARIES # +# Please see the 'Buildling' sections of the OpenSCAD user manual +# for updated tips & workarounds. +# +# http://en.wikibooks.org/wiki/OpenSCAD_User_Manual isEmpty(QT_VERSION) { error("Please use qmake for Qt 4 (probably qmake-qt4)") @@ -82,6 +86,11 @@ linux*:exists(/usr/lib64/libGLU*)|linux*:exists(/usr/lib/libGLU*) { LIBS += -lGLU } +# See Dec 2011 OpenSCAD mailing list, re: CGAL/GCC bugs. +*g++* { + QMAKE_CXXFLAGS *= -fno-strict-aliasing +} + CONFIG(mingw-cross-env) { include(mingw-cross-env.pri) } |