summaryrefslogtreecommitdiff
path: root/strata/swift/gf-complete.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/swift/gf-complete.morph')
-rw-r--r--strata/swift/gf-complete.morph20
1 files changed, 20 insertions, 0 deletions
diff --git a/strata/swift/gf-complete.morph b/strata/swift/gf-complete.morph
new file mode 100644
index 00000000..e8965c76
--- /dev/null
+++ b/strata/swift/gf-complete.morph
@@ -0,0 +1,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"