summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndreas Fankhauser (@tux-six)2022-07-20 13:48:47 +0200
committerAndreas Fankhauser (@tux-six)2022-07-20 13:48:47 +0200
commita0ea003d2d0c4b9769cc02ae18203110e0214e31 (patch)
treeea7d71fa3a13553f587d33d7eb8901925b8d3b71 /configure
parent8715622ee3a0c0daa74934e5a349bd47c7fd23bd (diff)
parent4748d472f73f67a6dcaac5947dba94bf09bc7164 (diff)
downloadDeflateAndInflate-a0ea003d2d0c4b9769cc02ae18203110e0214e31.zip
DeflateAndInflate-a0ea003d2d0c4b9769cc02ae18203110e0214e31.tar.gz
Merge 'Add doc how to build inside docker' to master
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 2c17949..7156777 100755
--- a/configure
+++ b/configure
@@ -48,6 +48,7 @@ printMakefile () {
printf '%s\n' 'RIMRAF=rm -rf'
printf '%s\n' 'MKDIRS=mkdir -p'
printf '%s\n' 'COPYTO=cp -t'
+ printf '%s\n' 'NDEBUG=1'
printf '\n'
printf '%s\n' "PREFIX=$prefix"
@@ -84,8 +85,8 @@ printMakefile () {
printf '%s\n' 'ifndef NDEBUG'
printf '%s\n' ' CFLAGS := $(CFLAGS) -ggdb -O0 -g3'
printf '%s\n' 'else'
- printf '%s\n' ' CFLAGS := $(CFLAGS) -ffunction-sections -fdata-sections -Os -s "-DNDEBUG=1"'
- printf '%s\n' ' LDFLAGS := $(LDFLAGS) -Wl,--gc-sections,--as-needed -s'
+ printf '%s\n' ' CFLAGS := $(CFLAGS) -ffunction-sections -fdata-sections -Os "-DNDEBUG=1"'
+ printf '%s\n' ' LDFLAGS := $(LDFLAGS) -Wl,--gc-sections,--as-needed'
printf '%s\n' 'endif'
printf '\n'