summaryrefslogtreecommitdiff
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:19 -0500
commitd0ac862582132a6669d1ecd62d08e8a200cd1672 (patch)
tree60010cca69e8d65a23e87a71f23fc3334a4d5175
parent0a337da3c0b5b570278269d8f9e9ecf8c22b4a0c (diff)
downloadbcparser-d0ac862582132a6669d1ecd62d08e8a200cd1672.tar.bz2
bcparser-d0ac862582132a6669d1ecd62d08e8a200cd1672.tar.xz
build system: configure: properly record the inherited CFLAGS and LDFLAGS.
-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"
}