summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMilla Pohjanheimo <milla.pohjanheimo@qt.io>2017-02-02 10:22:23 +0200
committerMilla Pohjanheimo <milla.pohjanheimo@qt.io>2017-02-02 13:41:40 +0000
commit1561b922dfa49c071938f961e2cae7c51d766655 (patch)
tree27f21ecfb3d0051ffbaa84deef6a30f2f11655e3 /tests
parent583ae213c1e34a93d01d1872c1a89cc4d7b48838 (diff)
Modified gen.sh to be able to generate the binary compatibility files
Added -std=c++11 to gen.sh script Change-Id: I3a7f02267bcf12a3209ee9b00c158dde10d4b751 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/postbuild/bic/gen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/postbuild/bic/gen.sh b/tests/postbuild/bic/gen.sh
index 206c1b29..b0b276c9 100755
--- a/tests/postbuild/bic/gen.sh
+++ b/tests/postbuild/bic/gen.sh
@@ -48,7 +48,7 @@ fi
for module in $modules; do
echo "#include <$module/$module>" >test.cpp
- g++ -c -I$QTDIR/include -DQT_NO_STL -fdump-class-hierarchy -fPIC test.cpp
+ g++ -c -std=c++11 -I$QTDIR/include -DQT_NO_STL -fdump-class-hierarchy -fPIC test.cpp
mv test.cpp*.class $module.$2.txt
# Remove template classes from the output
perl -pi -e '$skip = 1 if (/^(Class|Vtable).*</);