blob: b05070775f2b8a389fe12d88b74c63f4856d7e68 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
diff --git a/pdclib/Makefile b/pdclib/Makefile
index 97da5cc..cca5a4f 100644
--- a/pdclib/Makefile
+++ b/pdclib/Makefile
@@ -27,6 +27,7 @@ endif
#CC=$(bindir)/arm-none-eabi-gcc
CC=/usr/bin/arm-none-eabi-gcc
+AR=/usr/bin/arm-none-eabi-ar
# This is where you chose which platform to compile for (see 'make links' / './platform')
PLATFORM := altos
@@ -98,7 +99,7 @@ check: all testdrivers regtestdrivers
$(PDCLIB): $(BUILD) $(OBJFILES)
@echo " AR $@"
- @ar rc $@ $(OBJFILES)
+ @$(AR) rc $@ $(OBJFILES)
@echo
install-$(CPU): install-$(CPU)-lib install-hdr
|