From: Mike Krinkin Date: Fri, 10 Apr 2015 20:22:13 +0000 (+0300) Subject: Implement -D option. X-Git-Tag: v2.1.0~260^2^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a0e92b76b39e03a31cf733419aa829f7323d13b3;p=libcds.git 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. --- 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;;