Rex Dieter ace1f8
diff -up qt-everywhere-opensource-src-4.8.5/src/sql/drivers/tds/qsql_tds.pri.tds_no_strict_aliasing qt-everywhere-opensource-src-4.8.5/src/sql/drivers/tds/qsql_tds.pri
Rex Dieter ace1f8
--- qt-everywhere-opensource-src-4.8.5/src/sql/drivers/tds/qsql_tds.pri.tds_no_strict_aliasing	2013-06-09 11:57:49.198291245 -0500
Rex Dieter ace1f8
+++ qt-everywhere-opensource-src-4.8.5/src/sql/drivers/tds/qsql_tds.pri	2013-06-09 12:01:24.120100371 -0500
81789f
@@ -1,6 +1,8 @@
81789f
 HEADERS += $$PWD/qsql_tds.h
81789f
 SOURCES += $$PWD/qsql_tds.cpp
81789f
 
81789f
+*-g++*: QMAKE_CXXFLAGS += -fno-strict-aliasing
81789f
+
81789f
 unix|win32-g++*: {
Rex Dieter ace1f8
     LIBS += $$QT_LFLAGS_TDS
81789f
     !contains(LIBS, .*sybdb.*):LIBS += -lsybdb