Disable GCC dangling-pointer warning to make build work

See https://bugzilla.mozilla.org/show_bug.cgi?id=1826650 - with
very recent GCC 13, nss build fails on this warning. jschanck is
working on a fix, but his first cut didn't work and I really
want a build done so we can get a Firefox build done.
This commit is contained in:
Adam Williamson 2023-04-05 15:49:23 -07:00
parent ef1f194244
commit ed6e518933

View File

@ -387,6 +387,10 @@ export XCFLAGS="$XCFLAGS -Wno-error=maybe-uninitialized"
# Similarly, but for gcc-11 # Similarly, but for gcc-11
export XCFLAGS="$XCFLAGS -Wno-array-parameter" export XCFLAGS="$XCFLAGS -Wno-array-parameter"
# aaaand gcc-133:
# https://bugzilla.mozilla.org/show_bug.cgi?id=1826650
export XCFLAGS="$XCFLAGS -Wno-dangling-pointer"
export LDFLAGS=$RPM_LD_FLAGS export LDFLAGS=$RPM_LD_FLAGS
export DSO_LDOPTS=$RPM_LD_FLAGS export DSO_LDOPTS=$RPM_LD_FLAGS