From a0e92b76b39e03a31cf733419aa829f7323d13b3 Mon Sep 17 00:00:00 2001 From: Mike Krinkin Date: Fri, 10 Apr 2015 23:22:13 +0300 Subject: [PATCH] Implement -D option. The buildscript help says that it has support of the -D option, while it actually hasn't. This patch add support of the -D option. --- build/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/build.sh b/build/build.sh index 31d67fcb..b30b9623 100644 --- a/build/build.sh +++ b/build/build.sh @@ -121,6 +121,10 @@ while [ $# -gt 0 ] makejobs=$2 shift 2 ;; + -D) + EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -D$2" + shift 2 + ;; -h) usage exit $ERROR_EXIT_CODE;; -- 2.34.1