Skip to content

Commit 42145b0

Browse files
committed
fix build
1 parent a200d5f commit 42145b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

backends/qualcomm/scripts/download_qnn_sdk.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,12 @@ def _install_glibc_234():
295295
build_dir = pathlib.Path(tmpdir) / "glibc-build"
296296
os.makedirs(build_dir, exist_ok=True)
297297

298+
logger.info("[glibc] Configuring build...")
298299
env = os.environ.copy()
299300
# Remove LD_LIBRARY_PATH to satisfy configure checks
300301
env.pop("LD_LIBRARY_PATH", None)
302+
# allow warnings
303+
env["CFLAGS"] = "-O2 -Wno-error"
301304

302305
# Configure
303306
cmd = ["../glibc-2.34/configure", f"--prefix={GLIBC_ROOT}"]

0 commit comments

Comments
 (0)