summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChan Lee <chan45.lee@samsung.com>2016-02-25 16:44:59 +0900
committerChan Lee <chan45.lee@samsung.com>2016-02-25 17:03:08 +0900
commit7fab370d68eaac6ad1ad6d379ec34cedfd8a6b4a (patch)
treecf2777e7f7937c8386dfec80c1642fdc9867aa04
parent61c70aa925b64f20b59f6af4fcf4aa800a8245c2 (diff)
downloadlinaro-gcc-7fab370d68eaac6ad1ad6d379ec34cedfd8a6b4a.tar.gz
linaro-gcc-7fab370d68eaac6ad1ad6d379ec34cedfd8a6b4a.tar.bz2
linaro-gcc-7fab370d68eaac6ad1ad6d379ec34cedfd8a6b4a.zip
Change-Id: If870c80a2d0c87fd557838b678c71891bea9a135 Signed-off-by: Chan Lee <chan45.lee@samsung.com>
-rw-r--r--packaging/gcc-aarch64.spec2
-rw-r--r--packaging/gcc-armv7l.spec2
-rw-r--r--packaging/linaro-gcc.spec2
3 files changed, 6 insertions, 0 deletions
diff --git a/packaging/gcc-aarch64.spec b/packaging/gcc-aarch64.spec
index dfb9c340f65..1a485bfca75 100644
--- a/packaging/gcc-aarch64.spec
+++ b/packaging/gcc-aarch64.spec
@@ -646,6 +646,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \
%{!?cross: \
%ifarch armv7l
--with-arch=armv7-a \
+ --with-tune=cortex-a8 \
--disable-sjlj-exceptions \
%endif
%ifarch aarch64
@@ -665,6 +666,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \
%{?cross: \
%{?armv7l: \
--with-arch=armv7-a \
+ --with-tune=cortex-a8 \
--disable-sjlj-exceptions \
} \
%{?aarch64: \
diff --git a/packaging/gcc-armv7l.spec b/packaging/gcc-armv7l.spec
index d355192320d..077dbf2bfd7 100644
--- a/packaging/gcc-armv7l.spec
+++ b/packaging/gcc-armv7l.spec
@@ -646,6 +646,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \
%{!?cross: \
%ifarch armv7l
--with-arch=armv7-a \
+ --with-tune=cortex-a8 \
--disable-sjlj-exceptions \
%endif
%ifarch aarch64
@@ -665,6 +666,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \
%{?cross: \
%{?armv7l: \
--with-arch=armv7-a \
+ --with-tune=cortex-a8 \
--disable-sjlj-exceptions \
} \
%{?aarch64: \
diff --git a/packaging/linaro-gcc.spec b/packaging/linaro-gcc.spec
index 3546b9227d6..003044d6e6f 100644
--- a/packaging/linaro-gcc.spec
+++ b/packaging/linaro-gcc.spec
@@ -643,6 +643,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \
%{!?cross: \
%ifarch armv7l
--with-arch=armv7-a \
+ --with-tune=cortex-a8 \
--disable-sjlj-exceptions \
%endif
%ifarch aarch64
@@ -662,6 +663,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \
%{?cross: \
%{?armv7l: \
--with-arch=armv7-a \
+ --with-tune=cortex-a8 \
--disable-sjlj-exceptions \
} \
%{?aarch64: \