Add two patches to fix general compile issues. The first masks out some glibc specific extensions if using a different libc. The second fixes a compile issue with newer compilers. Like this it's possible to easily add more executables to the packages should the need (or wish) arise. This also gets rid of the following warnings: cc1: note: someone does not honour COPTS correctly, passed 2 times Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
11 lines
293 B
Diff
11 lines
293 B
Diff
--- a/xpp/echo_loader.c
|
|
+++ b/xpp/echo_loader.c
|
|
@@ -564,7 +564,7 @@ UINT32 Oct6100UserDriverReadBurstApi(tPO
|
|
return cOCT6100_ERR_OK;
|
|
}
|
|
|
|
-inline int get_ver(struct astribank *astribank)
|
|
+static inline int get_ver(struct astribank *astribank)
|
|
{
|
|
return spi_send(astribank, 0, 0, 1, 1);
|
|
}
|