Makefile: drop "-lpthread -lrt"
PATCH 1/1 Makefile: drop "-lpthread -lrt"
Both, -lpthread and -lrt seem to be relevant for api/ only. x86 already adds these flags manually, when linking api/%. So we should be safe to just drop it.
This makes it possible to easily cross-compile when e.g. the librt is not available (or not linked to libc).
Suggested-by Thomas Huth <[email protected]>
Signed-off-by David Hildenbrand <[email protected]>
--- Makefile | 1 - 1 file changed, 1 deletion(-)
Makefile +0 -1
@@ -65,7 +65,6 @@ CXXFLAGS += $(CFLAGS) autodepend-flags = -MMD -MF $(dir $*).$(notdir $*).d LDFLAGS += $(CFLAGS) -LDFLAGS += -pthread -lrt $(libcflat): $(cflatobjs) $(AR) rcs $@ $^
Signature · 1 line
2.9.3