From 8362c2d46e2da0c20fbd3daf511ccdf425f9a1f0 Mon Sep 17 00:00:00 2001 From: kaizhangNV <149626564+kaizhangNV@users.noreply.github.com> Date: Fri, 19 Apr 2024 21:27:10 -0700 Subject: Create a new release build for linux_x64. (#3989) --- github_build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'github_build.sh') 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 -- cgit v1.2.3