From 90cda75271efb67f1152ce67d800d9e4f34ab1e8 Mon Sep 17 00:00:00 2001 From: midipix Date: Jan 03 2019 07:25:41 +0000 Subject: build system: configure: support project-specific default native {c|ld}flags. --- 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'