mirror of
https://abf.rosa.ru/djam/java-11-openjdk.git
synced 2025-02-23 13:32:53 +00:00
parent
6dab179720
commit
df83518f11
1 changed files with 3 additions and 2 deletions
|
@ -1763,11 +1763,12 @@ EXTRA_CPP_FLAGS="%ourcppflags"
|
||||||
# fix rpmlint warnings
|
# fix rpmlint warnings
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -fno-strict-aliasing"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS -fno-strict-aliasing"
|
||||||
%endif
|
%endif
|
||||||
|
%if %{without clang}
|
||||||
# Fixes annocheck warnings in assembler files due to missing build notes
|
# Fixes annocheck warnings in assembler files due to missing build notes
|
||||||
%if 0
|
|
||||||
EXTRA_ASFLAGS="${EXTRA_CFLAGS} -Wa,--generate-missing-build-notes=yes"
|
EXTRA_ASFLAGS="${EXTRA_CFLAGS} -Wa,--generate-missing-build-notes=yes"
|
||||||
|
%else
|
||||||
|
EXTRA_ASFLAGS="${EXTRA_CFLAGS}"
|
||||||
%endif
|
%endif
|
||||||
EXTRA_ASFLAGS="${EXTRA_CFLAGS} -Wa"
|
|
||||||
export EXTRA_CFLAGS EXTRA_ASFLAGS
|
export EXTRA_CFLAGS EXTRA_ASFLAGS
|
||||||
|
|
||||||
for suffix in %{build_loop} ; do
|
for suffix in %{build_loop} ; do
|
||||||
|
|
Loading…
Add table
Reference in a new issue