12b021
build system: configure: support project-specific default native {c|ld}flags.
@@ -320,6 +320,10 @@ common_defaults()
|
|
320
320
|
[ -z "$mb_ldflags_last" ] && mb_ldflags_last=$mb_default_ldflags_last
|
321
321
|
[ -z "$mb_ldflags_once" ] && mb_ldflags_once=$mb_default_ldflags_once
|
322
322
|
|
323
|
+
# native switches
|
324
|
+
[ -z "$mb_native_cflags" ] && mb_native_cflags=$mb_default_native_cflags
|
325
|
+
[ -z "$mb_native_ldflags" ] && mb_native_ldflags=$mb_default_native_ldflags
|
326
|
+
|
323
327
|
# config
|
324
328
|
[ -z "$mb_all_static" ] && mb_all_static='no'
|
325
329
|
[ -z "$mb_all_shared" ] && mb_all_shared='no'
|