%define compile_arch CFG_WITH_VFP=n
%endif
-%define compile_flags CROSS_COMPILE="" CROSS_COMPILE64="" CFLAGS="-L%{_libdir}/gcc/%{_host}/6.2.1 -lgcc_eh" CFG_LIBUTEE_TUI=n %{log_env} %{compile_arch}
+%define compile_flags CROSS_COMPILE="" CROSS_COMPILE64="" CFLAGS="-L%{_libdir}/gcc/%{_host}/6.2.1 -lgcc_eh -Wno-unused-command-line-argument" CFG_LIBUTEE_TUI=n %{log_env} %{compile_arch}
%define export_dir export-ta_arm%{__isa_bits}
%define out_export_dir opt/optee/
if echo "$CC" | grep -q clang ; then
export COMPILER="clang-cc"
export CC_COMMAND="$CC"
+ LDFLAGS=
fi
%{?asan:/usr/bin/gcc-unforce-options}
make %{compile_flags} PLATFORM=rpi3