diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2019-09-25 11:13:46 +1000 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2019-10-03 09:55:58 +1000 |
commit | 6266148e32090267cd534391e35eae3ed4e7800b (patch) | |
tree | f7d8252e861bf6004893a11bc9421fc9b8f849a9 /Makefile.main | |
parent | 923b5a5342a7a37bd376327e35c7fcb98138d41c (diff) | |
download | skiboot-6266148e32090267cd534391e35eae3ed4e7800b.zip skiboot-6266148e32090267cd534391e35eae3ed4e7800b.tar.gz skiboot-6266148e32090267cd534391e35eae3ed4e7800b.tar.bz2 |
build: use -mcpu=power8
POWER7 is no longer supported.
Acked-by: Stewart Smith <stewart@flamingspork.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'Makefile.main')
-rw-r--r-- | Makefile.main | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.main b/Makefile.main index cb65cbc..2d60bbb 100644 --- a/Makefile.main +++ b/Makefile.main @@ -76,7 +76,7 @@ CPPFLAGS += -DDEBUG -DCCAN_LIST_DEBUG endif CFLAGS := -fno-strict-aliasing -pie -fpie -fno-pic -mbig-endian -m64 -fno-asynchronous-unwind-tables -CFLAGS += -mcpu=power7 +CFLAGS += -mcpu=power8 CFLAGS += -Wl,--oformat,elf64-powerpc -ggdb CFLAGS += $(call try-cflag,$(CC),-ffixed-r13) CFLAGS += $(call try-cflag,$(CC),-std=gnu11) @@ -135,7 +135,7 @@ LDFLAGS := -m64 -static -nostdlib -pie LDFLAGS += -Wl,-pie LDFLAGS += -Wl,-Ttext-segment,$(LD_TEXT) -Wl,-N -Wl,--build-id=none LDFLAGS += -Wl,--no-multi-toc -LDFLAGS += -mcpu=power7 -mbig-endian -Wl,--oformat,elf64-powerpc +LDFLAGS += -mcpu=power8 -mbig-endian -Wl,--oformat,elf64-powerpc LDFLAGS_FINAL = -EB -m elf64ppc --no-multi-toc -N --build-id=none --whole-archive LDFLAGS_FINAL += -static -nostdlib -pie -Ttext-segment=$(LD_TEXT) --oformat=elf64-powerpc LDFLAGS_FINAL += --orphan-handling=warn |