Changeset d30e067 in mainline for configure.sh


Ignore:
Timestamp:
2025-03-02T20:02:33Z (5 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
8cdf360
Parents:
7debda3 (diff), 4285f384 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge 'upstream/master' into helenraid-para

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.sh

    r7debda3 rd30e067  
    110110PLATFORM=`sed -n '/^PLATFORM\b/p' Makefile.config | sed 's:[^=]*= ::'`
    111111MACHINE=`sed -n '/^MACHINE\b/p' Makefile.config | sed 's:[^=]*= ::'`
     112COMPILER=`sed -n '/^COMPILER\b/p' Makefile.config | sed 's:[^=]*= ::'`
    112113
    113114cross_target="$PLATFORM"
     
    119120fi
    120121
     122if [ "$COMPILER" = 'clang' ]; then
     123    cross_target="${cross_target}_clang"
     124fi
     125
    121126cross_def="${SOURCE_DIR}/meson/cross/${cross_target}"
    122127cc_arch=`sed -n "s:cc_arch = '\(.*\)':\1:p" "$cross_def"`
    123128
    124 compname="$cc_arch-helenos-gcc"
     129if [ "$COMPILER" = 'clang' ]; then
     130    compname="$cc_arch-helenos-clang"
     131else
     132    compname="$cc_arch-helenos-gcc"
     133fi
    125134unset compprefix
    126135
Note: See TracChangeset for help on using the changeset viewer.