In order to allow -fpic and -fpie in the user target, move init to it's own target -- it needs its own special build rules to make it loadable by boot.
10 lines
89 B
YAML
10 lines
89 B
YAML
---
|
|
ccflags: [
|
|
"-fpie"
|
|
]
|
|
|
|
ldflags: [
|
|
"-pie",
|
|
"--dynamic-linker", "/tools/ld.so",
|
|
]
|