summaryrefslogtreecommitdiff
path: root/README.wasm
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2017-07-17 15:05:07 -0700
committerJames Zern <jzern@google.com>2017-07-18 11:09:07 -0700
commitc6462413913cd0a0f68ad06b8d43c45a14acd94e (patch)
tree044916151da9266b9c54be4bc24acfdcd0979a28 /README.wasm
parentcfaebe3e95d80159ea3f7b99abb3368dc02a210d (diff)
downloadlibwebp-c6462413913cd0a0f68ad06b8d43c45a14acd94e.tar.gz
README.wasm: normalize cmake command lines
+ enable NEON for armv7 Change-Id: If914f3973391271a1817e7ff16541f3272b2ad88
Diffstat (limited to 'README.wasm')
-rw-r--r--README.wasm6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.wasm b/README.wasm
index f5a44a11..63b97a32 100644
--- a/README.wasm
+++ b/README.wasm
@@ -36,14 +36,14 @@ armv7:
------
$ gcc_arm=/opt/gcc-arm; target=arm-linux-gnueabihf
- $ cmake -DWEBP_BUILD_DWEBP=1 -DCMAKE_C_COMPILER=clang -DWEBP_ENABLE_WASM=1 \
- -DCMAKE_C_FLAGS="--target=$target --gcc-toolchain=$gcc_arm --sysroot=$gcc_arm/$target/libc" \
+ $ cmake .. -DWEBP_BUILD_DWEBP=1 -DCMAKE_C_COMPILER=clang -DWEBP_ENABLE_WASM=1 \
+ -DCMAKE_C_FLAGS="--target=$target --gcc-toolchain=$gcc_arm --sysroot=$gcc_arm/$target/libc -march=armv7-a -mfpu=neon" \
-DCMAKE_PREFIX_PATH=$gcc_arm/$target/libc/usr
aarch64 / arm64:
----------------
$ gcc_arm=/opt/gcc-aarch64; target=aarch64-linux-gnu
- $ cmake .. -DWEBP_BUILD_DWEBP=ON -DCMAKE_C_COMPILER=clang \
+ $ cmake .. -DWEBP_BUILD_DWEBP=1 -DCMAKE_C_COMPILER=clang -DWEBP_ENABLE_WASM=1 \
-DCMAKE_C_FLAGS="--target=$target --gcc-toolchain=$gcc_arm --sysroot=$gcc_arm/$target/libc" \
-DCMAKE_PREFIX_PATH=$gcc_arm/$target/libc/usr