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