summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Barinov <v.barinov@samsung.com>2020-09-25 12:08:27 +0300
committerSlava Barinov <v.barinov@samsung.com>2020-09-25 12:08:27 +0300
commit92ca4554e1b7c3b7b1ae025821ca45d4ff384749 (patch)
tree10fdb3d0500a4868bc5551658f867324716d2453
parenta8605c66e23910779f85df70a25cef9b4e7776aa (diff)
downloadbinutils-92ca4554e1b7c3b7b1ae025821ca45d4ff384749.tar.gz
binutils-92ca4554e1b7c3b7b1ae025821ca45d4ff384749.tar.bz2
binutils-92ca4554e1b7c3b7b1ae025821ca45d4ff384749.zip
Change-Id: Id1126e73b8bbe641f3c80fc84b016bfa5df10571 Signed-off-by: Slava Barinov <v.barinov@samsung.com>
-rw-r--r--packaging/binutils-aarch64.spec6
-rw-r--r--packaging/binutils-armv7hl.spec6
-rw-r--r--packaging/binutils-armv7l.spec6
-rw-r--r--packaging/binutils.spec6
4 files changed, 20 insertions, 4 deletions
diff --git a/packaging/binutils-aarch64.spec b/packaging/binutils-aarch64.spec
index 3ae464526a6..efdaaed7bae 100644
--- a/packaging/binutils-aarch64.spec
+++ b/packaging/binutils-aarch64.spec
@@ -168,7 +168,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:
diff --git a/packaging/binutils-armv7hl.spec b/packaging/binutils-armv7hl.spec
index ca13fb2d484..d9583d8c54e 100644
--- a/packaging/binutils-armv7hl.spec
+++ b/packaging/binutils-armv7hl.spec
@@ -168,7 +168,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:
diff --git a/packaging/binutils-armv7l.spec b/packaging/binutils-armv7l.spec
index 2346a635052..2dd36b73e75 100644
--- a/packaging/binutils-armv7l.spec
+++ b/packaging/binutils-armv7l.spec
@@ -168,7 +168,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:
diff --git a/packaging/binutils.spec b/packaging/binutils.spec
index f8d15f8d608..ea504ff3c35 100644
--- a/packaging/binutils.spec
+++ b/packaging/binutils.spec
@@ -165,7 +165,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: