Changes in configure.sh [d231a54:f3a7b0d] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.sh

    rd231a54 rf3a7b0d  
    110110PLATFORM=`sed -n '/^PLATFORM\b/p' Makefile.config | sed 's:[^=]*= ::'`
    111111MACHINE=`sed -n '/^MACHINE\b/p' Makefile.config | sed 's:[^=]*= ::'`
    112 COMPILER=`sed -n '/^COMPILER\b/p' Makefile.config | sed 's:[^=]*= ::'`
    113112
    114113cross_target="$PLATFORM"
     
    120119fi
    121120
    122 if [ "$COMPILER" = 'clang' ]; then
    123     cross_target="${cross_target}_clang"
    124 fi
    125 
    126121cross_def="${SOURCE_DIR}/meson/cross/${cross_target}"
    127122cc_arch=`sed -n "s:cc_arch = '\(.*\)':\1:p" "$cross_def"`
    128123
    129 if [ "$COMPILER" = 'clang' ]; then
    130     compname="$cc_arch-helenos-clang"
    131 else
    132     compname="$cc_arch-helenos-gcc"
    133 fi
     124compname="$cc_arch-helenos-gcc"
    134125unset compprefix
    135126
     
    173164sed "s:@COMPPREFIX@:$compprefix:g" "$cross_def" > crossfile || exit 1
    174165
    175 meson setup "${SOURCE_DIR}" '.' --cross-file crossfile || exit 1
     166meson "${SOURCE_DIR}" '.' --cross-file crossfile || exit 1
    176167
    177168echo
Note: See TracChangeset for help on using the changeset viewer.