summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-03 02:21:50 -0500
committermidipix <writeonce@midipix.org>2019-01-03 02:24:21 -0500
commit0e48fd4ecbcbdc56aefe157055a5bc3a77d0d330 (patch)
treed6ec139c404bc790aa5f3e7fef181781c30a9f45
parent5a5af6304bb06d96e25b966a29730641667b7e4f (diff)
downloadsofort-0e48fd4ecbcbdc56aefe157055a5bc3a77d0d330.tar.bz2
sofort-0e48fd4ecbcbdc56aefe157055a5bc3a77d0d330.tar.xz
build system: configure: support project-specific default native {c|ld}flags.
-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'