Makefile: be more robust against toolchains without syscalls
authorMichael Grzeschik <mgr@xviews.de>
Tue, 18 Jan 2011 10:58:26 +0000 (11:58 +0100)
committerSteve Markgraf <steve@steve-m.de>
Tue, 18 Jan 2011 12:11:00 +0000 (13:11 +0100)
commit4cd3bb78588459c6e82a99e56170d0c8d0284948
treea8e4433445aef0e6cdf3db1cb08753ea9cb15c88
parentb5abcb69701f2f72db433448831eef1052148952
Makefile: be more robust against toolchains without syscalls

Several toolchains are missing syscalls provided by the libc used. For example,
if the newlib was build with the configure flag "--disable-newlib-supplied-syscalls".
To prevent the configure check for things like "_exit" in osmocom
the CFLAGS+="-nostartfiles -nodefaultlibs" helps a lot.

Signed-off-by: Michael Grzeschik <mgr@xviews.de>
Acked-by: Wolfram Sang <wolfram@the-dreams.de>
Acked-by: Peter Stuge <peter@stuge.se>
src/Makefile