mirror of https://github.com/vitalif/openscad
-fno-strict-aliasing fix for GCC bug & link to wikibooks build instructions.
parent
ee2cdb6489
commit
52655b3b5f
|
@ -96,3 +96,9 @@ log as well as your sysinfo.txt file, as well as running 'ldd' against
|
|||
your binaries, to make sure that the proper versions of libraries are
|
||||
getting compiled and linked with the test binaries.
|
||||
|
||||
7. Other issues
|
||||
|
||||
The OpenSCAD User Manual has a section on buildling. Check there for updates:
|
||||
|
||||
http://en.wikibooks.org/wiki/OpenSCAD_User_Manual
|
||||
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue