diff options
| author | kaizhangNV <149626564+kaizhangNV@users.noreply.github.com> | 2024-04-19 21:27:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-19 21:27:10 -0700 |
| commit | 8362c2d46e2da0c20fbd3daf511ccdf425f9a1f0 (patch) | |
| tree | 5f4eb50535acb6b6dda589c4697817860fbc9ca4 /github_build.sh | |
| parent | beae3a9d219dac1e4e3da9c357b25d06370388f3 (diff) | |
Create a new release build for linux_x64. (#3989)
Diffstat (limited to 'github_build.sh')
| -rw-r--r-- | github_build.sh | 6 |
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 |
