Mercurial > hg > Members > menikon > CbC_xv6
changeset 18:d058830337d9
fix llvm arm cpu setting
author | kono |
---|---|
date | Mon, 05 Mar 2018 19:31:28 +0900 |
parents | c0f6f3eb25ae |
children | bf2f70fa8852 |
files | src/makefile-armclang |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/makefile-armclang Sun Feb 25 18:48:39 2018 +0900 +++ b/src/makefile-armclang Mon Mar 05 19:31:28 2018 +0900 @@ -2,6 +2,7 @@ QEMU = qemu-system-arm include makefile.inc +CPU = armv6 CC = /usr/local/cbclang/bin/clang AS = arm-linux-gnu-as LD = arm-linux-gnu-ld @@ -9,7 +10,7 @@ OBJDUMP = arm-linux-gnu-objdump # CFLAGS = -march=armv6 -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -Werror -I. -g -O0 -CFLAGS = -target arm-linux-gnueabihf -march=armv7a -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -I. -I ../cbclang/arm -g -O0 +CFLAGS = -target arm-linux-gnueabihf -march=${CPU} -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -I. -I ../cbclang/arm -g -O0 LDFLAGS = --noinhibit-exec # ASFLAGS = -march=armv6 ASFLAGS = -target arm-linux-gnueabihf