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:19 -0500
commit456802c7eb9a93bdba966aac22636f6bd3014a37 (patch)
tree427346847c956ad0f0e0341a3d2f810af6f3ddef /configure
parent110a8fd9840d921eb7649c5d1f37084cd1e27b6d (diff)
downloadntapi-456802c7eb9a93bdba966aac22636f6bd3014a37.tar.bz2
ntapi-456802c7eb9a93bdba966aac22636f6bd3014a37.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"
}