mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
nios2: FreeBSD clang needs gnu89 to build gcc.
This commit is contained in:
parent
3b93640ed7
commit
60e8ddf650
@ -102,6 +102,12 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
||||
|
||||
%{host_build_flags}
|
||||
|
||||
#
|
||||
# On FreeBSD clang needs to be wind back in time to build gcc
|
||||
#
|
||||
%if %{_build_os} == freebsd
|
||||
CC="${CC} -std=gnu89" \
|
||||
%endif
|
||||
../${source_dir_gcc}/configure \
|
||||
--prefix=%{_prefix} \
|
||||
--bindir=%{_bindir} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user