projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f837f50
)
Implement -D option.
author
Mike Krinkin
<krinkin.m.u@gmail.com>
Fri, 10 Apr 2015 20:22:13 +0000
(23:22 +0300)
committer
Mike Krinkin
<krinkin.m.u@gmail.com>
Fri, 10 Apr 2015 20:22:13 +0000
(23:22 +0300)
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
patch
|
blob
|
history
diff --git
a/build/build.sh
b/build/build.sh
index 31d67fcb8c7a8b5e04ed96b7757b032c6bf7b1d5..b30b9623d0c30dcd7f3ce3b36155eb12743299f3 100644
(file)
--- 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;;