changeset 9:96034efc6750

Fixed issue when building from the command line.
author John Schneiderman <JohnMS@CodeGNU.com>
date Tue, 17 Jun 2014 01:56:14 +0000
parents 1271d289ac61
children 1b53acea13ae
files src/UNIT_TESTS/qargsut.pro src/qargs.pro
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/UNIT_TESTS/qargsut.pro	Tue Jun 17 01:25:12 2014 +0000
+++ b/src/UNIT_TESTS/qargsut.pro	Tue Jun 17 01:56:14 2014 +0000
@@ -103,8 +103,9 @@
     CONFIG +=   release
     DEFINES +=  QT_NO_DEBUG_OUTPUT
     linux-g++ {
-	   !buildpass:message(Setting GCC release flags.)
-	   QMAKE_CXXFLAGS_RELEASE += -O3 # Use all optimizations from O2 and more.
+		!buildpass:message(Setting GCC release flags.)
+		QMAKE_CXXFLAGS_RELEASE += -O3 \ # Use all optimizations from O2 and more.
+			-std=c++11 \ # Conform to ISO standard
     }
 }
 MOC_DIR = $$OBJECTS_DIR
--- a/src/qargs.pro	Tue Jun 17 01:25:12 2014 +0000
+++ b/src/qargs.pro	Tue Jun 17 01:56:14 2014 +0000
@@ -93,8 +93,9 @@
     CONFIG +=   release
     DEFINES +=  QT_NO_DEBUG_OUTPUT
     linux-g++ {
-	   !buildpass:message(Setting GCC release flags.)
-	   QMAKE_CXXFLAGS_RELEASE += -O3 # Use all optimizations from O2 and more.
+		!buildpass:message(Setting GCC release flags.)
+		QMAKE_CXXFLAGS_RELEASE += -O3 \ # Use all optimizations from O2 and more.
+			-std=c++11 \ # Conform to ISO standard
     }
 }
 MOC_DIR = $$OBJECTS_DIR