File dist/BSDmakefile artifact 7f20717fa4 part of check-in 3f080eded4
# being extremely paranoid here, but there's some vague plans to get nix
# shit working under BSD kernels, so we may as well future-proof the thing
.if defined(NIX_STORE) || defined(NIX_PATH)
l-glibc-path != nix path-info nixos.glibc
rt-path = $(l-glibc-path)/lib
.endif
rt-path ?= /usr/lib
runtime = $(rt-path)/crt1.o \
$(rt-path)/crti.o \
$(rt-path)/crtbegin.o \
$(rt-path)/crtend.o \
$(rt-path)/crtn.o
.include <makefile>