Skip to content

Commit

Permalink
鸿蒙关闭luajit
Browse files Browse the repository at this point in the history
  • Loading branch information
whitecostume committed Nov 12, 2024
1 parent 71c48f6 commit f16775e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build_ohos_arm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ toolchain_tool=${OHOS_SDK}/native/build/cmake/ohos.toolchain.cmake
cd luajit-2.1/src

make clean
make -j32 HOST_CC="gcc -m32" CFLAGS="-fPIC" DYNAMIC_CC=${dynamic_cc} TARGET_LD=${target_ld} STATIC_CC=${static_cc} TARGET_AR="${target_ar}" TARGET_STRIP=${target_strip}
make -j32 HOST_CC="gcc -m32" CFLAGS="-fPIC" XCFLAGS=-DLUAJIT_DISABLE_JIT DYNAMIC_CC=${dynamic_cc} TARGET_LD=${target_ld} STATIC_CC=${static_cc} TARGET_AR="${target_ar}" TARGET_STRIP=${target_strip}
cp ./libluajit.a ../../openharmony/libluajit.a
make clean

Expand Down
2 changes: 1 addition & 1 deletion build_ohos_arm64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ toolchain_tool=${OHOS_SDK}/native/build/cmake/ohos.toolchain.cmake
cd luajit-2.1/src

make clean
make -j32 HOST_CC="gcc" CFLAGS="-fPIC" DYNAMIC_CC=${dynamic_cc} TARGET_LD=${target_ld} STATIC_CC=${static_cc} TARGET_AR="${target_ar}" TARGET_STRIP=${target_strip}
make -j32 HOST_CC="gcc" CFLAGS="-fPIC" XCFLAGS=-DLUAJIT_DISABLE_JIT DYNAMIC_CC=${dynamic_cc} TARGET_LD=${target_ld} STATIC_CC=${static_cc} TARGET_AR="${target_ar}" TARGET_STRIP=${target_strip}
cp ./libluajit.a ../../openharmony/libluajit.a
make clean

Expand Down

0 comments on commit f16775e

Please sign in to comment.