[crosstool-ng/crosstool-ng] 8a2eb0: arch: do not allow specifying both --with-arch and...

Bryan Hundven bryanhundven@gmail.com
Wed Jun 10 16:27:00 GMT 2015


  Branch: refs/heads/master
  Home:   https://github.com/crosstool-ng/crosstool-ng
  Commit: 8a2eb07cf18adfe6c3e361e801bedea6d673e72e
      https://github.com/crosstool-ng/crosstool-ng/commit/8a2eb07cf18adfe6c3e361e801bedea6d673e72e
  Author: Yann E. MORIN <yann.morin.1998@free.fr>
  Date:   2015-06-08 (Mon, 08 Jun 2015)

  Changed paths:
    M config/target.in

  Log Message:
  -----------
  arch: do not allow specifying both --with-arch and --with-cpu

Normally, a specific CPU fully implies the architecture level. For
example, a cortec-a8 is forcibly an armv7, so spwecifying both is
redundant, and even dangerous (as incompatible values may be passed).

So far, gcc was pretty happy when both were specified at the same time,
and some time ago, it started being a warning, and only recently was it
turned into a hard error.

So, hide the architecture level prompt when a CPU has been specified.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>


  Commit: 8534a138ef56fb427afa262c3139d7821df7045f
      https://github.com/crosstool-ng/crosstool-ng/commit/8534a138ef56fb427afa262c3139d7821df7045f
  Author: Bryan Hundven <bryanhundven@gmail.com>
  Date:   2015-06-10 (Wed, 10 Jun 2015)

  Changed paths:
    M config/target.in

  Log Message:
  -----------
  Merge pull request #113 from yann-morin-1998/yem/arch-arm-with-cpu-with-cpu

arch: do not allow specifying both --with-arch and --with-cpu


Compare: https://github.com/crosstool-ng/crosstool-ng/compare/334c22a4cc38...8534a138ef56
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list