Explorar o código

use g++ to build `libext_server.so` on linux (#1972)

Jeffrey Morgan hai 1 ano
pai
achega
4cf17990f7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      llm/generate/gen_common.sh

+ 1 - 1
llm/generate/gen_common.sh

@@ -52,7 +52,7 @@ install() {
 }
 
 link_server_lib() {
-    gcc -fPIC -g -shared -o ${BUILD_DIR}/lib/libext_server.so \
+    g++ -fPIC -g -shared -o ${BUILD_DIR}/lib/libext_server.so \
         -Wl,--whole-archive \
         ${BUILD_DIR}/lib/libext_server.a \
         -Wl,--no-whole-archive \