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