From 67e6124c951e59e706a6287fa441a6003d351175 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 14 Aug 2016 12:05:38 +0200 Subject: runc*: bugfix --- .bashrc_cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bashrc_cxx b/.bashrc_cxx index af11332..cede40b 100644 --- a/.bashrc_cxx +++ b/.bashrc_cxx @@ -11,7 +11,7 @@ C_FLAGS=('-Wall' '-Wextra') runc() ( set -o errexit -o nounset -o pipefail - local -a c_flags=("${C_FLAGS[@]}") + local -a c_flags=("${C_FLAGS[@]+"${C_FLAGS[@]}"}") local -a src_files local -a prog_flags @@ -67,7 +67,7 @@ CXX_FLAGS=('-Wall' '-Wextra' '-std=c++14') runcxx() ( set -o errexit -o nounset -o pipefail - local cxx_flags=("${CXX_FLAGS[@]}") + local -a cxx_flags=("${CXX_FLAGS[@]+"${CXX_FLAGS[@]}"}") local -a src_files local -a prog_flags -- cgit v1.2.3