Explorar o código

Merge pull request #391 from ChesterLee852/patch-2

CentOS Stream 8 Install MySQL 8.0 from Source Compiler Error
yeho %!s(int64=3) %!d(string=hai) anos
pai
achega
07c653c723
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      include/mysql-8.0.sh

+ 2 - 0
include/mysql-8.0.sh

@@ -38,6 +38,8 @@ Install_MySQL80() {
     -DWITH_MYISAM_STORAGE_ENGINE=1 \
     -DENABLED_LOCAL_INFILE=1 \
     -DFORCE_INSOURCE_BUILD=1 \
+    -DCMAKE_C_COMPILER=/usr/bin/gcc \
+    -DCMAKE_CXX_COMPILER=/usr/bin/g++ \
     -DDEFAULT_CHARSET=utf8mb4
     make -j ${THREAD}
     make install