summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-13 23:52:23 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-13 23:52:23 +0300
commitda5ddce4a065890a2453865fddfa746f7fbf9d26 (patch)
treebbd6f488f3ea6ccc10842e441859d73c17bd8ed8
parent760e5829acabf6308473d2b4c0afa183f62fb2ac (diff)
downloadmv-da5ddce4a065890a2453865fddfa746f7fbf9d26.tar.gz
mv-da5ddce4a065890a2453865fddfa746f7fbf9d26.tar.bz2
mv-da5ddce4a065890a2453865fddfa746f7fbf9d26.tar.xz
mv-da5ddce4a065890a2453865fddfa746f7fbf9d26.zip
In deheader ci scripts mode -std flag into special parameter.
This will fix include issue with enabled C++11 flag.
-rwxr-xr-xtools/ci/scripts/deheader.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ci/scripts/deheader.sh b/tools/ci/scripts/deheader.sh
index ddf60169d..0d7953b88 100755
--- a/tools/ci/scripts/deheader.sh
+++ b/tools/ci/scripts/deheader.sh
@@ -19,5 +19,6 @@ ${dir}/deheader -q -i "\"debug.h\"" \
-i "\"$name\"" \
-c "$CXX" \
-d "$FLAGS" \
--m "-c -std=gnu++1z -Werror -Wall -Wextra -Wundef -Wmissing-declarations -DLOCALEDIR=\\\"\\\" -I/usr/include $INCLUDES -I${dir}/src" $1 \
+-s "-std=gnu++1z" \
+-m "-c -Werror -Wall -Wextra -Wundef -Wmissing-declarations -DLOCALEDIR=\\\"\\\" -I/usr/include $INCLUDES -I${dir}/src" $1 \
| grep -v "portability requires" | tee -a ${LOGFILE}