mirror of
https://abf.rosa.ru/djam/icu.git
synced 2025-02-23 19:02:50 +00:00
adjust flags for elbrus
This commit is contained in:
parent
2bab919531
commit
4cf1b1ebb3
1 changed files with 3 additions and 0 deletions
3
icu.spec
3
icu.spec
|
@ -219,7 +219,10 @@ pushd source
|
|||
# (tpg) needed for patch 2
|
||||
export CFLAGS='%{optflags} -fno-strict-aliasing'
|
||||
export CXXFLAGS='%{optflags} -fno-strict-aliasing -std=c++14'
|
||||
# no bfd flag on elbrus
|
||||
%ifnarch %{e2k}
|
||||
export LDFLAGS='%{ldflags} -fuse-ld=bfd'
|
||||
%endif
|
||||
# If we want crosscompile icu we need to built ICU package
|
||||
# and add --with-cross-build=/path/to/icu
|
||||
# disable bits and do unset TARGET twice, after configure
|
||||
|
|
Loading…
Add table
Reference in a new issue