summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-06-02 11:07:29 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-06-02 13:50:13 (GMT)
commit40a3bd822e74408ae5ce3a10dbe595878c7c8583 (patch)
treecf74b9a24677a4815bab0b51fe4b797d8a18cb7f
parentde3da0160ceb3d084d2a11c3b9e40a388e8ae7a4 (diff)
downloaddefinitions-40a3bd822e74408ae5ce3a10dbe595878c7c8583.tar.gz
gcc: Remove 'with-cpu', not compatible with 'with-arch'
The following error was happening after upgrading to GCC 5.3.0 in armv7lhf builds: Switch "--with-arch" may not be used with switch "--with-cpu" Also, I could find other places where this flag was removed when upgrading to GCC 5: http://pkgs.fedoraproject.org/cgit/rpms/gcc.git/commit/gcc.spec?id=7f999936529d6902d43c8cc807ceb3a6843f3072 Change-Id: Ib3934098518dc496d3c9d29a9c7f97a7cfeab9c7
-rw-r--r--strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc-nolibc.morph1
-rw-r--r--strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc.morph1
-rw-r--r--strata/build-essential/gcc.morph1
-rw-r--r--strata/build-essential/stage1-gcc.morph1
-rw-r--r--strata/build-essential/stage2-gcc.morph1
5 files changed, 0 insertions, 5 deletions
diff --git a/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc-nolibc.morph b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc-nolibc.morph
index b5a8c33..b43577f 100644
--- a/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc-nolibc.morph
+++ b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc-nolibc.morph
@@ -23,7 +23,6 @@ configure-commands:
case "$MORPH_ARCH" in
armv7lhf) ARCH_FLAGS="--with-arch=armv7-a \
- --with-cpu=cortex-a9 \
--with-tune=cortex-a9 \
--with-fpu=vfpv3-d16 \
--with-float=hard" ;;
diff --git a/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc.morph b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc.morph
index 140a29b..d5c1a14 100644
--- a/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc.morph
+++ b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-gcc.morph
@@ -14,7 +14,6 @@ configure-commands:
case "$MORPH_ARCH" in
armv7lhf) ARCH_FLAGS="--with-arch=armv7-a \
- --with-cpu=cortex-a9 \
--with-tune=cortex-a9 \
--with-fpu=vfpv3-d16 \
--with-float=hard" ;;
diff --git a/strata/build-essential/gcc.morph b/strata/build-essential/gcc.morph
index f16b3c0..18459b7 100644
--- a/strata/build-essential/gcc.morph
+++ b/strata/build-essential/gcc.morph
@@ -28,7 +28,6 @@ configure-commands:
- |
case "$MORPH_ARCH" in
armv7lhf) ARCH_FLAGS="--with-arch=armv7-a \
- --with-cpu=cortex-a9 \
--with-tune=cortex-a9 \
--with-fpu=vfpv3-d16 \
--with-float=hard" ;;
diff --git a/strata/build-essential/stage1-gcc.morph b/strata/build-essential/stage1-gcc.morph
index 6418ed6..c439a91 100644
--- a/strata/build-essential/stage1-gcc.morph
+++ b/strata/build-essential/stage1-gcc.morph
@@ -28,7 +28,6 @@ configure-commands:
- |
case "$MORPH_ARCH" in
armv7lhf) ARCH_FLAGS="--with-arch=armv7-a \
- --with-cpu=cortex-a9 \
--with-tune=cortex-a9 \
--with-fpu=vfpv3-d16 \
--with-float=hard" ;;
diff --git a/strata/build-essential/stage2-gcc.morph b/strata/build-essential/stage2-gcc.morph
index cd600e1..6f211e8 100644
--- a/strata/build-essential/stage2-gcc.morph
+++ b/strata/build-essential/stage2-gcc.morph
@@ -22,7 +22,6 @@ configure-commands:
- |
case "$MORPH_ARCH" in
armv7lhf) ARCH_FLAGS="--with-arch=armv7-a \
- --with-cpu=cortex-a9 \
--with-tune=cortex-a9 \
--with-fpu=vfpv3-d16 \
--with-float=hard" ;;