]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 15 Oct 2013 12:45:21 +0000 (14:45 +0200)
commita9f5cee7edaa88eaf77d134dc1b370ad7d91ed9f
tree5594372e32940c119a41f96972cd0c8d88574c37
parentb7830d2ace57bf7d5cd4ef00ef5725ebfde2e6c2
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