Skip to content

Commit fe61b20

Browse files
committed
updating makefile for newer llvm option string
1 parent e35d1e9 commit fe61b20

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

blinker01/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ LLCOPS = -march=arm -mcpu=arm1176jzf-s
4646
LLCOPS0 = -march=arm
4747
LLCOPS1 = -march=arm -mcpu=arm1176jzf-s
4848
COPS = -Wall -O2 -nostdlib -nostartfiles -ffreestanding
49-
OOPS = -std-compile-opts
49+
#OOPS = -std-compile-opts
50+
OOPS = -std-link-opts
5051

5152
clang : blinker01.clang.hex blinker01.clang.bin
5253

blinker01/pi2/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ LLCOPS = -march=arm -mcpu=arm1176jzf-s
4646
LLCOPS0 = -march=arm
4747
LLCOPS1 = -march=arm -mcpu=arm1176jzf-s
4848
COPS = -Wall -O2 -nostdlib -nostartfiles -ffreestanding
49-
OOPS = -std-compile-opts
49+
#OOPS = -std-compile-opts
50+
OOPS = -std-link-opts
5051

5152
clang : blinker01.clang.hex blinker01.clang.bin
5253

blinker01/plus/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ LLCOPS = -march=arm -mcpu=arm1176jzf-s
4646
LLCOPS0 = -march=arm
4747
LLCOPS1 = -march=arm -mcpu=arm1176jzf-s
4848
COPS = -Wall -O2 -nostdlib -nostartfiles -ffreestanding
49-
OOPS = -std-compile-opts
49+
#OOPS = -std-compile-opts
50+
OOPS = -std-link-opts
5051

5152
clang : blinker01.clang.hex blinker01.clang.bin
5253

blinker02/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ LLCOPS = -march=arm -mcpu=arm1176jzf-s
4343
LLCOPS0 = -march=arm
4444
LLCOPS1 = -march=arm -mcpu=arm1176jzf-s
4545
COPS = -Wall -O2 -nostdlib -nostartfiles -ffreestanding
46-
OOPS = -std-compile-opts
46+
#OOPS = -std-compile-opts
47+
OOPS = -std-link-opts
4748

4849
clang : blinker02.clang.hex blinker02.clang.bin
4950

blinker02/pi2/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ LLCOPS = -march=arm -mcpu=arm1176jzf-s
4343
LLCOPS0 = -march=arm
4444
LLCOPS1 = -march=arm -mcpu=arm1176jzf-s
4545
COPS = -Wall -O2 -nostdlib -nostartfiles -ffreestanding
46-
OOPS = -std-compile-opts
46+
#OOPS = -std-compile-opts
47+
OOPS = -std-link-opts
4748

4849
clang : blinker02.clang.hex blinker02.clang.bin
4950

blinker02/plus/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ LLCOPS = -march=arm -mcpu=arm1176jzf-s
4343
LLCOPS0 = -march=arm
4444
LLCOPS1 = -march=arm -mcpu=arm1176jzf-s
4545
COPS = -Wall -O2 -nostdlib -nostartfiles -ffreestanding
46-
OOPS = -std-compile-opts
46+
#OOPS = -std-compile-opts
47+
OOPS = -std-link-opts
4748

4849
clang : blinker02.clang.hex blinker02.clang.bin
4950

0 commit comments

Comments
 (0)