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:20 -0500
commit297266df1e9af404d65a895eec28ab170207873c (patch)
tree15708e02fece57aff7370d39dfdacd502615b983 /configure
parent0d6a7c9e6de86aea84d6c5b3f5c5933ce912a4bf (diff)
downloadntux-297266df1e9af404d65a895eec28ab170207873c.tar.bz2
ntux-297266df1e9af404d65a895eec28ab170207873c.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"
}