summaryrefslogtreecommitdiffstats
path: root/github_build.sh
diff options
context:
space:
mode:
authorkaizhangNV <149626564+kaizhangNV@users.noreply.github.com>2024-04-19 21:27:10 -0700
committerGitHub <noreply@github.com>2024-04-19 21:27:10 -0700
commit8362c2d46e2da0c20fbd3daf511ccdf425f9a1f0 (patch)
tree5f4eb50535acb6b6dda589c4697817860fbc9ca4 /github_build.sh
parentbeae3a9d219dac1e4e3da9c357b25d06370388f3 (diff)
Create a new release build for linux_x64. (#3989)
Diffstat (limited to 'github_build.sh')
-rw-r--r--github_build.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/github_build.sh b/github_build.sh
index c35cff192..d905ec5eb 100644
--- a/github_build.sh
+++ b/github_build.sh
@@ -20,6 +20,10 @@ if [[ "aarch64" == "${TARGETARCH}" && "release" == "${CONFIGURATION}" ]]; then
glslangBuildFlag="--build-glslang=true"
fi
+if [[ ! -z ${GLIBC_COMPATIBLE} ]]; then
+ glibcCompatible="--glibcForwardCompatible=true"
+fi
+
if [[ "${ARCH}" != "${TARGETARCH}" ]]; then
# Create the makefile
@@ -35,7 +39,7 @@ rm -rf ./bin
else
# Create the makefile
-./premake5 gmake2 --cc=${CC} --enable-embed-stdlib=true --arch=${TARGETARCH} --deps=true --no-progress=true ${glslangBuildFlag}
+./premake5 gmake2 --cc=${CC} --enable-embed-stdlib=true --arch=${TARGETARCH} --deps=true --no-progress=true ${glslangBuildFlag} ${glibcCompatible}
fi
# Build the configuration