Blame SOURCES/qt-everywhere-opensource-src-4.8.5-tds_no_strict_aliasing.patch

2060a3
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
2060a3
--- 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
2060a3
+++ qt-everywhere-opensource-src-4.8.5/src/sql/drivers/tds/qsql_tds.pri	2013-06-09 12:01:24.120100371 -0500
2060a3
@@ -1,6 +1,8 @@
2060a3
 HEADERS += $$PWD/qsql_tds.h
2060a3
 SOURCES += $$PWD/qsql_tds.cpp
2060a3
 
2060a3
+*-g++*: QMAKE_CXXFLAGS += -fno-strict-aliasing
2060a3
+
2060a3
 unix|win32-g++*: {
2060a3
     LIBS += $$QT_LFLAGS_TDS
2060a3
     !contains(LIBS, .*sybdb.*):LIBS += -lsybdb