From b1929e33f41c4bd9715e5f91ab0cf68de5939396 Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Sun, 5 Feb 2017 21:02:17 -0800 Subject: [PATCH] examples/blinky: add -lc to LDLIBS for memchr This fixes issue #213 Signed-off-by: Max Filippov --- examples/blinky/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/blinky/Makefile b/examples/blinky/Makefile index 7f91ff9..9c2ad4c 100644 --- a/examples/blinky/Makefile +++ b/examples/blinky/Makefile @@ -1,6 +1,6 @@ CC = xtensa-lx106-elf-gcc CFLAGS = -I. -mlongcalls -LDLIBS = -nostdlib -Wl,--start-group -lmain -lnet80211 -lwpa -llwip -lpp -lphy -Wl,--end-group -lgcc +LDLIBS = -nostdlib -Wl,--start-group -lmain -lnet80211 -lwpa -llwip -lpp -lphy -lc -Wl,--end-group -lgcc LDFLAGS = -Teagle.app.v6.ld blinky-0x00000.bin: blinky