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
commit3d48d587fbee278e2362f482af1ab6353b3fc35d (patch)
treea342eae8c24c05af8f09cf96677a28eeece77df0 /configure
parentf950c9e3d2ef2ea5d263eb329bba683254e6f5b6 (diff)
downloadu16ports-3d48d587fbee278e2362f482af1ab6353b3fc35d.tar.bz2
u16ports-3d48d587fbee278e2362f482af1ab6353b3fc35d.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"
}