mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
Closes: https://bugs.gentoo.org/799860 Closes: https://bugs.gentoo.org/932355 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
18 lines
726 B
Diff
18 lines
726 B
Diff
https://github.com/freebasic/fbc/issues/170
|
|
https://bugs.gentoo.org/799860
|
|
--- a/makefile
|
|
+++ b/makefile
|
|
@@ -1409,10 +1409,10 @@ endif
|
|
# Use gcc to link fbc from the bootstrap .o's
|
|
# (assuming the rtlib was built already)
|
|
ifneq ($(filter darwin freebsd dragonfly linux netbsd openbsd solaris,$(TARGET_OS)),)
|
|
- BOOTSTRAP_LIBS := -lncurses -lm -pthread
|
|
+ BOOTSTRAP_LIBS := -ltinfo -lncurses -lm -pthread
|
|
endif
|
|
$(BOOTSTRAP_FBC): rtlib $(BOOTSTRAP_OBJ)
|
|
- $(QUIET_LINK)$(CC) -o $@ $(libdir)/fbrt0.o bootstrap/$(FBTARGET)/*.o $(libdir)/libfb.a $(BOOTSTRAP_LIBS)
|
|
+ $(QUIET_LINK)$(CC) -o $@ $(libdir)/fbrt0.o bootstrap/$(FBTARGET)/*.o $(libdir)/libfb.a $(BOOTSTRAP_LIBS) $(LDFLAGS)
|
|
|
|
.PHONY: clean-bootstrap
|
|
clean-bootstrap:
|