From e4a3dc95bdbb1371a7104fc9cf9c850bcdd3f883 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 09 Apr 2022 00:10:39 +0800
Subject: [PATCH] update appweb build.sh to fix x86_64 bug

---
 3rdparty/x86/appweb/build.sh |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/3rdparty/x86/appweb/build.sh b/3rdparty/x86/appweb/build.sh
index f09042d..933a892 100755
--- a/3rdparty/x86/appweb/build.sh
+++ b/3rdparty/x86/appweb/build.sh
@@ -17,9 +17,7 @@
 
 mkdir -p $PREFIX_PATH/{bin,modules}
 
-if [ "$CROSS_COMPILE" = "yes" ] ; then 
-    CROSSTOOL=/opt/rpi/arm-bcm2708/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
-fi
+CROSSTOOL=arm-linux-gnueabihf-
 
 function msg_banner()
 {
@@ -56,7 +54,7 @@
 
     # export cross configure 
     if [ "$CROSS_COMPILE" = "yes" ] ; then 
-        export CONFIG_CROSS=" --build=i686-pc-linux --host=arm-linux "
+        export CONFIG_CROSS=" --build=x86_64-pc-linux --host=arm-linux "
     fi
 
     # Clear LDFLAGS and CFLAGS

--
Gitblit v1.9.1