File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ before_install:
2121 - curl https://s3.amazonaws.com/libhttpserver/libmicrohttpd_releases/libmicrohttpd-0.9.59.tar.gz -o libmicrohttpd-0.9.59.tar.gz
2222 - tar -xvzf libmicrohttpd-0.9.59.tar.gz
2323 - cd libmicrohttpd-0.9.59
24- - if [[ "$ARM_ARCH_DIR" != "" ]]; then ./configure --host $ARM_ARCH_DIR --disable-examples; else ./configure --disable-examples; fi
24+ - if [[ "$ARM_ARCH_DIR" != "" ]]; then ./configure --build `./config.guess` -- host $ARM_ARCH_DIR --disable-examples; else ./configure --disable-examples; fi
2525 - make
2626 - sudo make install
2727 - cd ..
@@ -44,9 +44,9 @@ install:
4444 elif [ "$DEBUG" = "debug" ]; then
4545 ../configure --enable-debug --disable-shared --disable-fastopen;
4646 elif [ "$CROSS_COMPILE" = "1" ] && [ "$ARM_ARCH_DIR" = "aarch64-linux-gnu" ]; then
47- ../configure --disable-fastopen --host aarch64-linux-gnu CC="gcc -B$HOME/linker_bin" CXX="g++ -B$HOME/linker_bin";
47+ ../configure --disable-fastopen --build `../config.guess` -- host aarch64-linux-gnu CC="gcc -B$HOME/linker_bin" CXX="g++ -B$HOME/linker_bin";
4848 elif [ "$CROSS_COMPILE" = "1" ] && [ "$ARM_ARCH_DIR" = "arm-linux-gnueabi" ]; then
49- ../configure --disable-fastopen --host arm-linux-gnueabi;
49+ ../configure --disable-fastopen --build `../config.guess` -- host arm-linux-gnueabi;
5050 else
5151 ../configure --disable-fastopen;
5252 fi
You can’t perform that action at this time.
0 commit comments