Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/clang/clang.prog.mk
Show All 11 Lines | |||||
.for lib in ${LIBDEPS} | .for lib in ${LIBDEPS} | ||||
DPADD+= ${OBJTOP}/lib/clang/lib${lib}/lib${lib}.a | DPADD+= ${OBJTOP}/lib/clang/lib${lib}/lib${lib}.a | ||||
LDADD+= ${OBJTOP}/lib/clang/lib${lib}/lib${lib}.a | LDADD+= ${OBJTOP}/lib/clang/lib${lib}/lib${lib}.a | ||||
.endfor | .endfor | ||||
PACKAGE= clang | PACKAGE= clang | ||||
.if ${.MAKE.OS} == "FreeBSD" || !defined(BOOTSTRAPPING) | |||||
LIBADD+= execinfo | LIBADD+= execinfo | ||||
LIBADD+= ncursesw | LIBADD+= ncursesw | ||||
.endif | |||||
LIBADD+= pthread | LIBADD+= pthread | ||||
dim: Hm, we can't do `LIBADD += ncurses` here? Or do we miss a definition in bsd.libnames.mk (or… | |||||
Done Inline Actionsncurses has a build-tools target so can't be built early enough to provide a bootstrap ncurses for the bootstrap-tools tblgen jrtc27: ncurses has a build-tools target so can't be built early enough to provide a bootstrap ncurses… | |||||
Done Inline ActionsIt might be possible to build the bootstrap tools without linking ncurses. Will look into that. arichardson: It might be possible to build the bootstrap tools without linking ncurses. Will look into that. | |||||
Done Inline ActionsThat's what my patch did, worked just fine on macOS. On Linux I made it use -ltinfo since that's what LLVM's CMakeLists.txt auto-detects, though you might be able to get away without that too, I didn't try. jrtc27: That's what my patch did, worked just fine on macOS. On Linux I made it use -ltinfo since… | |||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> |
Hm, we can't do LIBADD += ncurses here? Or do we miss a definition in bsd.libnames.mk (or whatever it's called)?