Skip to content

Commit

Permalink
Makefile: remove try-cflags on no-altivec and no-vsx
Browse files Browse the repository at this point in the history
As Segher points out, any compiler that is capable of building skiboot
will support these flags.

Signed-off-by: Joel Stanley <[email protected]>
Signed-off-by: Stewart Smith <[email protected]>
  • Loading branch information
shenki authored and stewartsmith committed Jul 26, 2018
1 parent 0526946 commit 2e55c6b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Makefile.main
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e55c6b

Please sign in to comment.