diff options
author | Bdale Garbee <bdale@gag.com> | 2016-10-02 17:56:45 -0600 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2016-10-02 17:56:45 -0600 |
commit | f22b5bf5c442133b68c9f0b5551ce3a32b17cc6c (patch) | |
tree | d2dc9de4071d7ec6a43131a9e95106b8dc80984e /debian/patches/pdclib-use-target-ar.diff | |
parent | efa8a119dc3353fded5e7116007c0cedd5cfd1d8 (diff) |
we need a patch to handle pdclib changedebian/1.6.8-2
Diffstat (limited to 'debian/patches/pdclib-use-target-ar.diff')
-rw-r--r-- | debian/patches/pdclib-use-target-ar.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/pdclib-use-target-ar.diff b/debian/patches/pdclib-use-target-ar.diff new file mode 100644 index 00000000..b0507077 --- /dev/null +++ b/debian/patches/pdclib-use-target-ar.diff @@ -0,0 +1,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 |