diff options
Diffstat (limited to 'strata/icu-common/icu.morph')
-rw-r--r-- | strata/icu-common/icu.morph | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/strata/icu-common/icu.morph b/strata/icu-common/icu.morph new file mode 100644 index 00000000..42a7bc58 --- /dev/null +++ b/strata/icu-common/icu.morph @@ -0,0 +1,20 @@ +name: icu +kind: chunk +configure-commands: +- | + # As per commit 8874a7c7, We issue this sed command when + # building ICU libraries on arm architectures. + cpu=$(echo $TARGET | cut -d '-' -f 1) + case "$cpu" in + *arm*) + sed -e 's/LDFLAGSICUDT/#LDFLAGSICUDT/' -i source/config/mh-linux + ;; + *) + ;; + esac + cd source + ./runConfigureICU Linux --prefix=/usr --sysconfdir=/etc +build-commands: +- cd source; unset TARGET ; make +install-commands: +- cd source; unset TARGET ; make DESTDIR="$DESTDIR" install |