In a previous commit I updated the copyright message. But that was not
correct as I am not affiliated with OpenWrt. This commit reverts the
change.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- add CROSS_COMPILE and OS to MAKE_FLAGS; this should help when
compiling on other OSes, e.g. Darwin.
- move RELEASE up (alphabetical sort)
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
On most mipsel targets re fails to build because the re Makefile adds
"-march=mips32" to CFLAGS:
Assembler messages:
Error: -mips32r2 conflicts with the other architecture options, which imply -mips32
src/sip/addr.c:1:0: error: '-mips32r2' conflicts with the other architecture options, which specify a mips32 processor
/**
^
Makefile:92: recipe for target 'build-mipsel/sip/addr.o' failed
Fix this by preventing re from adding to OpenWrt CFLAGS.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
re and baresip builds for 32bit x86 targets are currently failing:
build-i386/sip/auth.o: In function `sip_auth_encode':
/build/lede-snapshots/i386_pentium/build/sdk/build_dir/target-i386_pentium_musl/re-0.5.6/src/sip/auth.c:279: undefined reference to `__stack_chk_fail_local'
The undefined references occur because there is no linking done to ssp.
Fix this by setting LD to TARGET_CC, so ld is not called directly. This
also means one patch is not needed anymore.
Do the same for rem and restund as they basically all share the same
build system.
Compile-tested for x86, x86_64 and mips.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Using the CFLAGS from the environment of Build/Compile the optimizations
from libre now appear after OpenWrt CFLAGS, overriding them. Prevent
that by disabling libre's optimization altogether.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
When using the default Build/Compile routine $LD is set to the actual
linker, so libre's build system is not using ld indirectly via the
compiler anymore. But it feeds -rdynamic to ld instead of
--export-dynamic. Fix that with this patch.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
With FORTIFY_SOURCE enabled the compiler errors our when libre defines
ssize_t again. Prevent that by adding the proper hint to the header in
question.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Remove unneeded variables, whitespaces and trailing slashes, use
specific INSTALL directive instead of "$(CP)".
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Change from custom make call to using the default Build/Compile routine.
This applies the standard memory corruption mitigation methods, e.g.
FORTIFY_SOURCE and RELRO to the package, if they are enabled (default).
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
CC build-mips/sa/pton.o
src/sa/pton.c: In function 'net_inet_pton':
src/sa/pton.c:233:7: error: 'const struct in6_addr' has no member named 's6_addr32'
src/sa/pton.c:233:7: error: 'const struct in6_addr' has no member named 's6_addr32'
src/sa/pton.c:233:7: error: 'const struct in6_addr' has no member named 's6_addr32'
Signed-off-by: Mika Laitio <mika.laitio@nokia.com>
Hi,
this patch upgrades the following packages to v0.4.1:
baresip v0.4.1 (Portable and modular SIP User-Agent with audio and video support)
restund v0.4.1 (Modular STUN/TURN server)
libre v0.4.1 (Generic library for real-time communications with async IO support)
librem v0.4.1 (Audio and video processing media library)
detailed changes can be found in <package>/docs/ChangeLog
(See http://www.creytiv.com/)
Please review and apply if OK.
Signed-Off-By: Alfred E. Heggestad <aeh@db.org>
Hi,
this patch upgrades the following packages to v0.4.0:
baresip v0.4.0 (Portable and modular SIP User-Agent with audio and video support)
restund v0.4.0 (Modular STUN/TURN server)
libre v0.4.0 (Generic library for real-time communications with async IO support)
librem v0.4.0 (Audio and video processing media library)
detailed changes can be found in <package>/docs/ChangeLog
(See http://www.creytiv.com/)
Please review and apply if OK.
Signed-Off-By: Alfred E. Heggestad <aeh@db.org>