summaryrefslogtreecommitdiff
path: root/tools/ci
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 /tools/ci
parent760e5829acabf6308473d2b4c0afa183f62fb2ac (diff)
downloadplus-da5ddce4a065890a2453865fddfa746f7fbf9d26.tar.gz
plus-da5ddce4a065890a2453865fddfa746f7fbf9d26.tar.bz2
plus-da5ddce4a065890a2453865fddfa746f7fbf9d26.tar.xz
plus-da5ddce4a065890a2453865fddfa746f7fbf9d26.zip
In deheader ci scripts mode -std flag into special parameter.
This will fix include issue with enabled C++11 flag.
Diffstat (limited to 'tools/ci')
-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}