1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# 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>
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# 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
# hahaaaa they broke nix path-info
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>
|