diff options
Diffstat (limited to 'strata/swift/gf-complete.morph')
-rw-r--r-- | strata/swift/gf-complete.morph | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/strata/swift/gf-complete.morph b/strata/swift/gf-complete.morph new file mode 100644 index 00000000..adbe5a48 --- /dev/null +++ b/strata/swift/gf-complete.morph @@ -0,0 +1,19 @@ +name: gf-complete +kind: chunk +build-system: autotools +pre-configure-commands: +- ./autogen.sh +configure-commands: +- | + case "$MORPH_ARCH" 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" |