WIP linux multiarch support

This commit is contained in:
Justin C. Miller
2025-11-23 23:49:56 -08:00
parent 90a0eb3c53
commit 7da34dbffb
13 changed files with 292 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
---
ccflags: [
"-fpie"
]
ldflags: [
"-pie",
"-rpath", "${target_dir}",
"--dynamic-linker", "/lib64/ld-linux-x86-64.so.2",
"--push-state", "--as-needed", "-Bstatic", "-lc++", "-lc++abi", "-lunwind", "--pop-state",
]
libs: [
"${target_dir}/crt0.o",
]