summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-03 02:21:50 -0500
committermidipix <writeonce@midipix.org>2019-01-03 02:25:41 -0500
commit4b14d517aa93a0e89ea7533a74b09264a57630ae (patch)
tree50259e9c3c3f094e277f5a00f05a4f9936c47c70 /configure
parent6173e99261dfad4ef4733c6b615f017d4db61007 (diff)
downloadsbpython2-4b14d517aa93a0e89ea7533a74b09264a57630ae.tar.bz2
sbpython2-4b14d517aa93a0e89ea7533a74b09264a57630ae.tar.xz
build system: configure: support project-specific default native {c|ld}flags.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 74af5fb..1284263 100755
--- a/configure
+++ b/configure
@@ -320,6 +320,10 @@ common_defaults()
[ -z "$mb_ldflags_last" ] && mb_ldflags_last=$mb_default_ldflags_last
[ -z "$mb_ldflags_once" ] && mb_ldflags_once=$mb_default_ldflags_once
+ # native switches
+ [ -z "$mb_native_cflags" ] && mb_native_cflags=$mb_default_native_cflags
+ [ -z "$mb_native_ldflags" ] && mb_native_ldflags=$mb_default_native_ldflags
+
# config
[ -z "$mb_all_static" ] && mb_all_static='no'
[ -z "$mb_all_shared" ] && mb_all_shared='no'