Based on Paul Fertser <fercerpav@gmail.com>'s guidance:
Change AUTORELEASE in rules.mk to:
```
AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
```
then update all affected packages by:
```
for i in $(git grep -l PKG_RELEASE:=.*AUTORELEASE | sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/clean
done
```
Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
Version bump.
- add ABI_VERSION as per OpenWrt package policies [1]
- don't package version-less symlink also as per [1]
- add --disable-silent-rules to keep build verbose
- remove leftover whitespace
- drop patch now included in tarball
[1] https://openwrt.org/docs/guide-developer/package-policies
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
libosip2 already makes sure that the compiler emits position-independent
code. Adding $(FPIC) makes no difference. In addition the libosip2 build
system puts its own flag behind the CFLAGS, overriding whatever was set
before.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
ARC toolchain exports __arc__, which clashes with a symbol of the same
name in libosip2. This commit undefines the toolchain symbol when
building the library.
The fix was found in buildroot repo. Thanks to whoever spotted this!
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>