packaging: Turn off separate-code for i586
authorSlava Barinov <v.barinov@samsung.com>
Fri, 25 Sep 2020 09:08:27 +0000 (12:08 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Wed, 3 May 2023 09:47:57 +0000 (18:47 +0900)
Change-Id: Id1126e73b8bbe641f3c80fc84b016bfa5df10571
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
packaging/binutils-aarch64.spec
packaging/binutils-armv7hl.spec
packaging/binutils-armv7l.spec
packaging/binutils.spec

index 51b7de8..6ee2a02 100644 (file)
@@ -163,7 +163,11 @@ cd build-dir
        --enable-gold \
        --enable-shared \
        --enable-new-dtags \
-       --enable-relro=no
+       --enable-relro=no \
+%ifarch %ix86
+       --disable-separate-code
+%endif
+
 }
 
 %{!?binutils_skip_make:
index 229771c..268139a 100644 (file)
@@ -163,7 +163,11 @@ cd build-dir
        --enable-gold \
        --enable-shared \
        --enable-new-dtags \
-       --enable-relro=no
+       --enable-relro=no \
+%ifarch %ix86
+       --disable-separate-code
+%endif
+
 }
 
 %{!?binutils_skip_make:
index 540e5df..8e08ca8 100644 (file)
@@ -163,7 +163,11 @@ cd build-dir
        --enable-gold \
        --enable-shared \
        --enable-new-dtags \
-       --enable-relro=no
+       --enable-relro=no \
+%ifarch %ix86
+       --disable-separate-code
+%endif
+
 }
 
 %{!?binutils_skip_make:
index 7e0f8de..8cca4c9 100644 (file)
@@ -160,7 +160,11 @@ cd build-dir
        --enable-gold \
        --enable-shared \
        --enable-new-dtags \
-       --enable-relro=no
+       --enable-relro=no \
+%ifarch %ix86
+       --disable-separate-code
+%endif
+
 }
 
 %{!?binutils_skip_make: