summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fankhauser (@tux-six)2022-07-13 00:51:45 +0200
committerAndreas Fankhauser (@tux-six)2022-07-13 00:51:45 +0200
commit1c3bba0a5d23eda61199b915fbc92112227b9411 (patch)
tree73df27e30d5bbd2de98a18e0797cbbd18e407512
parentbfc4bb7f424dc27bf06bd4320f915ceef503d0bf (diff)
downloadbulk-ln-1c3bba0a5d23eda61199b915fbc92112227b9411.zip
bulk-ln-1c3bba0a5d23eda61199b915fbc92112227b9411.tar.gz
Set NDEBUG=1 as default. Fix wrong CMD in dockerfile. Drop indentation in shell block because looks ugly in markdown
-rw-r--r--README.md10
-rwxr-xr-xconfigure1
-rw-r--r--contrib/build-using-docker/Dockerfile2
3 files changed, 7 insertions, 6 deletions
diff --git a/README.md b/README.md
index daef2a2..c3d35ba 100644
--- a/README.md
+++ b/README.md
@@ -14,10 +14,10 @@ If you prefer to build within more isolated environment may
If you prefer traditional, just do:
```sh
- curl -sSL http://git.hiddenalpha.ch/bulk-ln.git/snapshot/bulk-ln-master.tar.gz | tar xz
- cd bulk-ln-master
- ./configure
- make
- make install
+curl -sSL http://git.hiddenalpha.ch/bulk-ln.git/snapshot/bulk-ln-master.tar.gz | tar xz
+cd bulk-ln-master
+./configure
+make
+make install
```
diff --git a/configure b/configure
index d2f1fe7..fb6253b 100755
--- a/configure
+++ b/configure
@@ -64,6 +64,7 @@ printMakefile () {
printf '%s\n' "EXEC_PREFIX=$exec_prefix"
printf '%s\n' "EXEC_SUFFIX=$exec_suffix"
printf '%s\n' "BINDIR=$bindir"
+ printf '%s\n' "NDEBUG=1"
# If PROJECT_VERSION set, use it.
# If not, try generate via git describe.
diff --git a/contrib/build-using-docker/Dockerfile b/contrib/build-using-docker/Dockerfile
index 9a6df6b..c56cacd 100644
--- a/contrib/build-using-docker/Dockerfile
+++ b/contrib/build-using-docker/Dockerfile
@@ -31,5 +31,5 @@ USER 1000:1000
# run for max 10 hrs. Because this container is not meant to stay running
# forever.
-CMD ["sleep 36000"]
+CMD ["sleep", "36000"]