firasuke / cross / slibtool

Forked from cross/slibtool 7 months ago
Clone

12b021 build system: configure: support project-specific default native {c|ld}flags.

Authored and Committed by midipix 6 years ago
1 file changed. 4 lines added. 0 lines removed.
    build system: configure: support project-specific default native {c|ld}flags.
    
        
file modified
+4 -0
configure CHANGED
@@ -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'