diff options
author | Joel Stanley <joel@jms.id.au> | 2018-07-24 09:07:22 +0930 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-07-26 03:10:41 -0500 |
commit | 2e55c6b88451689c3f17c9b19332ceaf7a306e86 (patch) | |
tree | 7441ba0bed964ec7a443afe81b9eb9f20bd0d0d4 /Makefile.main | |
parent | 052694653f137ef661707ec0cdb53b989702b5bc (diff) | |
download | skiboot-2e55c6b88451689c3f17c9b19332ceaf7a306e86.zip skiboot-2e55c6b88451689c3f17c9b19332ceaf7a306e86.tar.gz skiboot-2e55c6b88451689c3f17c9b19332ceaf7a306e86.tar.bz2 |
Makefile: remove try-cflags on no-altivec and no-vsx
As Segher points out, any compiler that is capable of building skiboot
will support these flags.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'Makefile.main')
-rw-r--r-- | Makefile.main | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.main b/Makefile.main index 487aa73..5776ac2 100644 --- a/Makefile.main +++ b/Makefile.main @@ -176,10 +176,9 @@ CFLAGS += -msoft-float CFLAGS += $(call try-cflag,$(CC),-mno-string) # do not use load/store multiple word instrcutions CFLAGS += $(call try-cflag,$(CC),-mno-multiple) -# do not use any automatic vector foo -# While it would be safe during boot, we don't save/restore across OPAL calls -CFLAGS += $(call try-cflag,$(CC),-mno-vsx) \ - $(call try-cflag,$(CC),-mno-altivec) +# Do not use any automatic vector foo. While it would be safe during boot, we +# don't save/restore across OPAL calls +CFLAGS += -mno-vsx -mno-altivec # Do not use load/store update. You REALLY do not want to use this! # The async safety of the ABI stack depends on the atomicity |