summaryrefslogtreecommitdiff
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 21:37:16 -0500
commit7f70984d85fd7efd3257e0af3a08b25be87bebee (patch)
tree23a9dfd7377f525096522e0f4fe0f963c1528e31 /configure
parent8fd818a1b2dcc4cc3d11ae16514733b09f3c11b3 (diff)
downloadperk-7f70984d85fd7efd3257e0af3a08b25be87bebee.tar.bz2
perk-7f70984d85fd7efd3257e0af3a08b25be87bebee.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"
}