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:41:09 -0500
commitd08441a1f367793462c8fa921857674b57b0c38b (patch)
tree6ec4062eb32d1fd71d9c50425e7afe18ee832fb3 /configure
parent44cc21a2ab7ad0c7cac849ffdb62d52c548fe462 (diff)
downloadpemagine-d08441a1f367793462c8fa921857674b57b0c38b.tar.bz2
pemagine-d08441a1f367793462c8fa921857674b57b0c38b.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"
}