1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 23:11:19 +01:00
Juan Carrano 72f934f13d sys/arduino: work around llvm-ar bug.
llvm-ar behaves weidly when creating thin archive. This only manifests
itself when using arduino sketches as these are built from the "bin"
directory.

Specifically, given a directory "m" and an object in "m/obj.o " an
invocation with CWD==m:

```
llvm-ar rcTs ../m.a obj.o
```

Will create a maformed archive. Binutils does not have any issue with this.

The following command, executed with CWD==m/.. works:

```
llvm-ar rcTs m.a m/obj.o
```

The trick used in this commit is to put the source files in a different
directory than the object files and compile from there.
2019-09-10 17:53:07 +02:00
..
2018-04-05 14:39:59 +02:00
2018-02-22 19:13:39 +01:00
2018-05-28 15:43:41 -04:00
2018-06-11 19:12:02 +02:00
2018-10-18 13:37:21 +02:00
2018-06-15 00:34:33 +02:00
2019-05-16 12:01:36 +02:00
2019-09-09 20:27:16 +02:00
2018-08-24 18:14:03 +02:00
2019-06-05 17:10:26 +02:00
2018-10-03 10:44:14 +02:00
2019-04-12 15:51:15 +02:00