We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f96bc89 commit 8e3bf0eCopy full SHA for 8e3bf0e
backends/qualcomm/scripts/download_qnn_sdk.py
@@ -304,8 +304,12 @@ def _install_glibc_234():
304
env.pop("LD_LIBRARY_PATH", None)
305
# allow warnings
306
# env["CFLAGS"] = "-O2 -Wno-error"
307
- env["CFLAGS"] = "-O2 -Wno-error" # prevent warnings-as-errors
308
- env["CC"] = "gcc" # explicit, avoids surprises
+ # env["CFLAGS"] = "-O2 -Wno-error" # prevent warnings-as-errors
+ # env["CC"] = "gcc" # explicit, avoids surprises
309
+ env["CFLAGS"] = (
310
+ "-O2 -Wno-error=array-parameter -Wno-error=stringop-overflow -Wno-error"
311
+ )
312
+ env["CC"] = "gcc"
313
314
# Configure
315
cmd = [f"../glibc-{GLIBC_VERSION}/configure", f"--prefix={GLIBC_ROOT}"]
0 commit comments