[ASan/LSan] Remove -mthumb-fp since it's not longer support
authorSlava Barinov <v.barinov@samsung.com>
Fri, 12 May 2023 10:06:14 +0000 (13:06 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Wed, 28 Jun 2023 11:56:18 +0000 (20:56 +0900)
There's no -mthumb-fp option in newer GCC versions

Change-Id: I3f50295e62cb83159181a8e55638fb695619fe82
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
packaging/gcc-contrib.spec

index 0aab51b..40efd35 100644 (file)
@@ -42,8 +42,8 @@
 %define libsubdir %{libdir}/gcc/%{target_arch}/%{version}
 
 %ifarch armv7l
-%define asan_force_options -fsanitize-recover=address -fsanitize=address -mthumb -Wa,-mimplicit-it=thumb -mthumb-fp -fno-omit-frame-pointer -Wp,-U_FORTIFY_SOURCE -Wl,--as-needed -ldl -lpthread
-%define lsan_force_options -fsanitize=leak -mthumb -Wa,-mimplicit-it=thumb -mthumb-fp -fno-omit-frame-pointer -Wp,-U_FORTIFY_SOURCE -Wl,--as-needed -ldl -lpthread
+%define asan_force_options -fsanitize-recover=address -fsanitize=address -mthumb -Wa,-mimplicit-it=thumb -fno-omit-frame-pointer -Wp,-U_FORTIFY_SOURCE -Wl,--as-needed -ldl -lpthread
+%define lsan_force_options -fsanitize=leak -mthumb -Wa,-mimplicit-it=thumb -fno-omit-frame-pointer -Wp,-U_FORTIFY_SOURCE -Wl,--as-needed -ldl -lpthread
 %else
 %define asan_force_options -fsanitize-recover=address -fsanitize=address -fno-omit-frame-pointer -Wp,-U_FORTIFY_SOURCE -Wl,--as-needed -ldl -lpthread
 %define lsan_force_options -fsanitize=leak -fno-omit-frame-pointer -Wp,-U_FORTIFY_SOURCE -Wl,--as-needed -ldl -lpthread