use modern macro optflags
This commit is contained in:
parent
7a6ed0983b
commit
151cfe2392
@ -492,7 +492,7 @@ find ./ -name config.guess -exec cp /usr/lib/rpm/config.guess {} ';'
|
||||
#
|
||||
# Disable C++ exceptions since Mozilla code is not exception-safe
|
||||
#
|
||||
MOZ_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS" | %{__sed} -e 's/-Wall//')
|
||||
MOZ_OPT_FLAGS=$(echo "%{optflags}" | %{__sed} -e 's/-Wall//')
|
||||
#rhbz#1037063
|
||||
# -Werror=format-security causes build failures when -Wno-format is explicitly given
|
||||
# for some sources
|
||||
|
Loading…
Reference in New Issue
Block a user