make/autoconf/flags.m4
branchihse-cflags-rewrite-branch
changeset 56170 d509ae946997
parent 56162 d421dac1932f
child 56171 e97310213377
equal deleted inserted replaced
56169:8ab1a1ee2af6 56170:d509ae946997
    24 #
    24 #
    25 
    25 
    26 m4_include([flags-cflags.m4])
    26 m4_include([flags-cflags.m4])
    27 m4_include([flags-ldflags.m4])
    27 m4_include([flags-ldflags.m4])
    28 m4_include([flags-other.m4])
    28 m4_include([flags-other.m4])
       
    29 
       
    30 # Sort the flags in a given variable, and remove superfluous whitespace.
       
    31 #
       
    32 # $1 = name of variable to sort
       
    33 AC_DEFUN([FLAGS_SORT_FLAGS], [
       
    34   $1=`$ECHO ${$1} | $TR ' ' '\n' | $SORT | $TR '\n' ' '`
       
    35 ])
    29 
    36 
    30 ################################################################################
    37 ################################################################################
    31 #
    38 #
    32 # Setup ABI profile (for arm)
    39 # Setup ABI profile (for arm)
    33 #
    40 #