diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2016-06-02 11:07:29 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2016-06-02 13:50:13 +0000 |
commit | 40a3bd822e74408ae5ce3a10dbe595878c7c8583 (patch) | |
tree | cf74b9a24677a4815bab0b51fe4b797d8a18cb7f /strata/build-essential | |
parent | de3da0160ceb3d084d2a11c3b9e40a388e8ae7a4 (diff) | |
download | definitions-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
Diffstat (limited to 'strata/build-essential')
-rw-r--r-- | strata/build-essential/gcc.morph | 1 | ||||
-rw-r--r-- | strata/build-essential/stage1-gcc.morph | 1 | ||||
-rw-r--r-- | strata/build-essential/stage2-gcc.morph | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/strata/build-essential/gcc.morph b/strata/build-essential/gcc.morph index f16b3c0e..18459b73 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 6418ed6a..c439a912 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 cd600e18..6f211e83 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" ;; |