diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-08 12:46:39 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-08 12:47:30 +0000 |
commit | e2aa6a14da99c44256ba21dc8f66c41c559c6055 (patch) | |
tree | a42695366cd5d804932d734b7c266b8ea788021c /community/binaryen | |
parent | adc2c2a9186a9afa52eabca6f3067ba3efb9b92d (diff) | |
download | aports-e2aa6a14da99c44256ba21dc8f66c41c559c6055.tar.bz2 aports-e2aa6a14da99c44256ba21dc8f66c41c559c6055.tar.xz |
community/binaryen: build fix for aarch64
Diffstat (limited to 'community/binaryen')
-rw-r--r-- | community/binaryen/APKBUILD | 6 | ||||
-rw-r--r-- | community/binaryen/gcc-march-aarch64.patch | 14 |
2 files changed, 18 insertions, 2 deletions
diff --git a/community/binaryen/APKBUILD b/community/binaryen/APKBUILD index 51674e35b1..c647fd02d6 100644 --- a/community/binaryen/APKBUILD +++ b/community/binaryen/APKBUILD @@ -13,7 +13,8 @@ subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/WebAssembly/$pkgname/archive/version_$pkgver.tar.gz link-dynamically.patch ignore-type-limits-error.patch - fix-gcc8-wcatch-value.patch" + fix-gcc8-wcatch-value.patch + gcc-march-aarch64.patch" builddir="$srcdir/$pkgname-version_$pkgver" case "$CARCH" in @@ -52,4 +53,5 @@ package() { sha512sums="89aa73c1686fb6d54c91990acbc7cd6c1bc7e6da57731bf009fe507c955c98c91582b5b9924c3c3f6a2d36d55ae73f1be79911cdce93dfd74954bca46861c8ad binaryen-40.tar.gz 9729655be0d952385de959bf7dd84a075b192fe4b221bb5c23e562a83a2bf9202a07536ad393157b23e0447f28bdd16283f64a63588ca42597bb59e9551219c8 link-dynamically.patch 3b95a197cd8805dfa714cf9f31adc1437b6d29bd4082f752c16d98c40cd024b110c02a412285c78251cb5d0b3080c0f9e4d45d8dd0166c71b9462b1610191ab8 ignore-type-limits-error.patch -f937a9f9f7f2cab97aa15ade3a800b8924755b27ae4e9e8951ee97dc79d54c95db28d3c71b32c2ed0b5711d6e1884c33cc307564abe759f6ea3c23db60d433a1 fix-gcc8-wcatch-value.patch" +f937a9f9f7f2cab97aa15ade3a800b8924755b27ae4e9e8951ee97dc79d54c95db28d3c71b32c2ed0b5711d6e1884c33cc307564abe759f6ea3c23db60d433a1 fix-gcc8-wcatch-value.patch +43db7456ce3b9a6239b24caa9fc9cb1a59975e742fa74ff6bfcdadbbb453afee62842aaa973596d78294704c7d76cb73eb7703f1d66e40b1bb164e86e5da5914 gcc-march-aarch64.patch" diff --git a/community/binaryen/gcc-march-aarch64.patch b/community/binaryen/gcc-march-aarch64.patch new file mode 100644 index 0000000000..b7cec8ef45 --- /dev/null +++ b/community/binaryen/gcc-march-aarch64.patch @@ -0,0 +1,14 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d9e5721..9497124 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -141,9 +141,6 @@ ELSE() + # wasm doesn't allow for x87 floating point math + ADD_COMPILE_FLAG("-msse2") + ADD_COMPILE_FLAG("-mfpmath=sse") +- elseif(TARGET_ARCH STREQUAL "ARM") +- # stub for ARM-specific instructions. GCC6 adds NEON with the below flags +- ADD_COMPILE_FLAG("-march=native") + endif () + endif () + ADD_COMPILE_FLAG("-Wall") |