diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-13 23:52:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-13 23:52:23 +0300 |
commit | da5ddce4a065890a2453865fddfa746f7fbf9d26 (patch) | |
tree | bbd6f488f3ea6ccc10842e441859d73c17bd8ed8 /tools/ci/scripts/deheader.sh | |
parent | 760e5829acabf6308473d2b4c0afa183f62fb2ac (diff) | |
download | mv-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.
Diffstat (limited to 'tools/ci/scripts/deheader.sh')
-rwxr-xr-x | tools/ci/scripts/deheader.sh | 3 |
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} |