[PATCH 0/3] selftests: fixes for undefined reference (LDFLAGS -> LDLIBS)

2017-06-28 Thread Fathi Boudra
This serie fixes undefined reference errors caused by the usage of LDFLAGS instead of LDLIBS. The issue is GNU Make and linker specific. The default Makefile rule looks like: $(CC) $(CFLAGS) $(LDFLAGS) $@ $^ $(LDLIBS) When linking is done by gcc itself, no issue, but when it needs to be passed

[PATCH 0/3] selftests: fixes for undefined reference (LDFLAGS -> LDLIBS)

2017-06-28 Thread Fathi Boudra
This serie fixes undefined reference errors caused by the usage of LDFLAGS instead of LDLIBS. The issue is GNU Make and linker specific. The default Makefile rule looks like: $(CC) $(CFLAGS) $(LDFLAGS) $@ $^ $(LDLIBS) When linking is done by gcc itself, no issue, but when it needs to be passed