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:
parent
ef1f194244
commit
ed6e518933
4
nss.spec
4
nss.spec
@ -387,6 +387,10 @@ export XCFLAGS="$XCFLAGS -Wno-error=maybe-uninitialized"
|
||||
# Similarly, but for gcc-11
|
||||
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 DSO_LDOPTS=$RPM_LD_FLAGS
|
||||
|
Loading…
Reference in New Issue
Block a user