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
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
2 matches
Mail list logo