summaryrefslogtreecommitdiffhomepage
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
commitf9a2f314a4bc4318d2bd952b3c6c1213e7e9850d (patch)
tree745fa14cf9f3e251cb2dd25b998635d012aa54e3 /configure
parent6a3932ba73ffce61ca1195967b9dae6aca4bd327 (diff)
downloadw32lib-f9a2f314a4bc4318d2bd952b3c6c1213e7e9850d.tar.bz2
w32lib-f9a2f314a4bc4318d2bd952b3c6c1213e7e9850d.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"
}