summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-31 06:41:09 -0500
committermidipix <writeonce@midipix.org>2018-12-31 06:42:21 -0500
commite6c9c83912efb1bb5ce3b14f385891a26dad541f (patch)
tree8c9fdbb2eb433f7bb0897d6e20bec5b8d2594777 /configure
parent9eb5f8c44291b82ba84bc46eddbea924a8a8179e (diff)
downloadsofort-e6c9c83912efb1bb5ce3b14f385891a26dad541f.tar.bz2
sofort-e6c9c83912efb1bb5ce3b14f385891a26dad541f.tar.xz
build system: configure: properly record the inherited CFLAGS and LDFLAGS.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index e5fb030..914668e 100755
--- a/configure
+++ b/configure
@@ -362,6 +362,10 @@ common_defaults()
mb_cflags_debug='-g3 -O0'
fi
fi
+
+ # inherited cflags & ldflags
+ mb_cflags_cmdline="$mb_cflags_cmdline $mb_cflags"
+ mb_ldflags_cmdline="$mb_ldflags_cmdline $mb_ldflags"
}