File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ cd ../../
7676# --------------------------
7777if [ ! -d " AdventureCoin" ]; then
7878 echo -e " ${GREEN} >>> Cloning AdventureCoin...${RESET} "
79- git clone https://github.com/AdventureCoin-ADVC/AdventureCoin.git
79+ # git clone https://github.com/AdventureCoin-ADVC/AdventureCoin.git
80+ git clone https://github.com/CryptoDevelopmentServices/AdventureCoin.git
8081else
8182 echo -e " ${GREEN} >>> Updating AdventureCoin...${RESET} "
8283 cd AdventureCoin && git pull && cd ..
@@ -90,6 +91,19 @@ cd AdventureCoin
9091
9192chmod +x share/genbuild.sh
9293chmod +x autogen.sh
94+
95+ # --------------------------
96+ # Detect GCC version and apply fixes
97+ # --------------------------
98+ GCC_VER=$( $CXX -dumpversion | cut -d. -f1)
99+ echo -e " ${GREEN} >>> Detected g++ version: $GCC_VER ${RESET} "
100+
101+ if [ " $GCC_VER " -ge 13 ]; then
102+ echo -e " ${CYAN} Applying GCC 13+ compatibility flags...${RESET} "
103+ export CXXFLAGS=" $CXXFLAGS -std=c++17 -DADVC_GCC13_FIX"
104+ fi
105+
106+
93107./autogen.sh
94108
95109CONFIGURE_ARGS=" LDFLAGS=-L${BDB_PREFIX} /lib/ CPPFLAGS=-I${BDB_PREFIX} /include/"
You can’t perform that action at this time.
0 commit comments