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
commita626b81b93ce60a1b2194da06feccfd62265cfac (patch)
tree808409e300c2818fa40b5bdb77ab717438f3624d /configure
parent209f53d7de5ddbe51cf15c3a7131d83a1d28c30f (diff)
downloadptycon-a626b81b93ce60a1b2194da06feccfd62265cfac.tar.bz2
ptycon-a626b81b93ce60a1b2194da06feccfd62265cfac.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"
}