packaging: Enable gcc build with mthumb-fp 53/188053/3
authorDenis Khalikov <d.khalikov@partner.samsung.com>
Wed, 22 Aug 2018 10:48:13 +0000 (13:48 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Fri, 26 Oct 2018 11:33:16 +0000 (11:33 +0000)
Change-Id: Ib433b7163a1541134ed7bbf4b446a70fb5a2f34a

packaging/gcc-aarch64.spec
packaging/gcc-armv7hl.spec
packaging/gcc-armv7l.spec
packaging/linaro-gcc.spec

index a6b21c7..f5639ac 100644 (file)
@@ -698,7 +698,7 @@ echo "" > gcc/DEV-PHASE
 %{?asan:
 %gcc_unforce_options
 %ifarch armv7l
-RPM_OPT_FLAGS="$RPM_OPT_FLAGS -marm -Wa,-mimplicit-it=arm -fno-omit-frame-pointer"
+RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mthumb -mthumb-fp -Wa,-mimplicit-it=thumb -fno-omit-frame-pointer"
 %endif
 }
 %{?esan:%gcc_unforce_options}
index 022cf6f..122942f 100644 (file)
@@ -698,7 +698,7 @@ echo "" > gcc/DEV-PHASE
 %{?asan:
 %gcc_unforce_options
 %ifarch armv7l
-RPM_OPT_FLAGS="$RPM_OPT_FLAGS -marm -Wa,-mimplicit-it=arm -fno-omit-frame-pointer"
+RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mthumb -mthumb-fp -Wa,-mimplicit-it=thumb -fno-omit-frame-pointer"
 %endif
 }
 %{?esan:%gcc_unforce_options}
index 4503e9f..0dbe01f 100644 (file)
@@ -698,7 +698,7 @@ echo "" > gcc/DEV-PHASE
 %{?asan:
 %gcc_unforce_options
 %ifarch armv7l
-RPM_OPT_FLAGS="$RPM_OPT_FLAGS -marm -Wa,-mimplicit-it=arm -fno-omit-frame-pointer"
+RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mthumb -mthumb-fp -Wa,-mimplicit-it=thumb -fno-omit-frame-pointer"
 %endif
 }
 %{?esan:%gcc_unforce_options}
index 1ef45d2..9ba11ec 100644 (file)
@@ -695,7 +695,7 @@ echo "" > gcc/DEV-PHASE
 %{?asan:
 %gcc_unforce_options
 %ifarch armv7l
-RPM_OPT_FLAGS="$RPM_OPT_FLAGS -marm -Wa,-mimplicit-it=arm -fno-omit-frame-pointer"
+RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mthumb -mthumb-fp -Wa,-mimplicit-it=thumb -fno-omit-frame-pointer"
 %endif
 }
 %{?esan:%gcc_unforce_options}