Fix a long standing bug when setting compiler flags.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Jan 16 21:51:18 2008 +0000 (2008-01-16)
changeset 412e1cc03fb2794
parent 411 e0816bfc311b
child 413 35952da8c80b
Fix a long standing bug when setting compiler flags.
scripts/functions
     1.1 --- a/scripts/functions	Wed Jan 16 21:41:53 2008 +0000
     1.2 +++ b/scripts/functions	Wed Jan 16 21:51:18 2008 +0000
     1.3 @@ -517,7 +517,7 @@
     1.4      [ "${CT_ARCH_CPU}"      ] && { CT_ARCH_CPU_CFLAG="-mcpu=${CT_ARCH_CPU}";     CT_ARCH_WITH_CPU="--with-cpu=${CT_ARCH_CPU}";    }
     1.5      [ "${CT_ARCH_TUNE}"     ] && { CT_ARCH_TUNE_CFLAG="-mtune=${CT_ARCH_TUNE}";  CT_ARCH_WITH_TUNE="--with-tune=${CT_ARCH_TUNE}"; }
     1.6      [ "${CT_ARCH_FPU}"      ] && { CT_ARCH_FPU_CFLAG="-mfpu=${CT_ARCH_FPU}";     CT_ARCH_WITH_FPU="--with-fpu=${CT_ARCH_FPU}";    }
     1.7 -    [ "${CT_ARCH_FLOAT_SW}" ] && { CT_ARCH_FPU_CFLAG="-msoft-float";             CT_ARCH_WITH_FLOAT="--with-float=soft";          }
     1.8 +    [ "${CT_ARCH_FLOAT_SW}" ] && { CT_ARCH_FLOAT_CFLAG="-msoft-float";           CT_ARCH_WITH_FLOAT="--with-float=soft";          }
     1.9  
    1.10      # Call the architecture specific settings
    1.11      CT_DoArchValues