]> git.karo-electronics.de Git - linux-beck.git/commit
s390: always set -march compiler option
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 11 Sep 2013 07:29:33 +0000 (09:29 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 24 Oct 2013 15:16:44 +0000 (17:16 +0200)
commitfaf499dfccfd88d842164078917e7b6aae9a3cdb
tree798a01491588f36d1cd16452f6a5f2f7309a9555
parente344e52c7c6d6ab277daa83211972f801af2f9af
s390: always set -march compiler option

Currently we only set the -march compiler option if the kbuild
system figured out that the compiler actually supports the selected
architecture (cc-option test).

In result this means that no -march compiler option is set when an
unsupported cpu architecture of the current compiler is selected.
The kernel compile will afterwards succeed but with the default
architecture instead of the (unsupported) selected one.

Change this behaviour, so compiles will fail if the compiler does
not support the selected cpu architecture.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/Makefile