@@ -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
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> --- Makefile.main | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)