summaryrefslogtreecommitdiff
path: root/baserock/strata/swift/gf-complete.morph
blob: e8965c761284269cfbd435942525af0c0f488ade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: gf-complete
kind: chunk
build-system: autotools
pre-configure-commands:
- ./autogen.sh
configure-commands:
- |
  cpu="$(echo $TARGET | cut -d '-' -f 1)"
  case "$cpu" in
  x86_64)
    SSE=
    ;;
  *)
    # Disable SSE4 for any architecture which are not x86_64 bits
    # see more information about architecture which support SSE in
    # https://en.wikipedia.org/wiki/SSE4#Supporting_CPUs.
    SSE=--disable-sse
    ;;
  esac
  ./configure --prefix="$PREFIX" "$SSE"