mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[build] Update user build flags
Make symbols hidden by default, explicitly set architecture.
This commit is contained in:
@@ -9,7 +9,12 @@ variables:
|
|||||||
"-fno-omit-frame-pointer",
|
"-fno-omit-frame-pointer",
|
||||||
"-fno-stack-protector",
|
"-fno-stack-protector",
|
||||||
|
|
||||||
"-g",
|
"-g3",
|
||||||
|
"-ggdb",
|
||||||
|
|
||||||
|
"-fno-plt",
|
||||||
|
"-fvisibility=hidden",
|
||||||
|
"-fvisibility-inlines-hidden",
|
||||||
|
|
||||||
"-D__ELF__",
|
"-D__ELF__",
|
||||||
"-D__jsix__",
|
"-D__jsix__",
|
||||||
@@ -28,8 +33,10 @@ variables:
|
|||||||
|
|
||||||
ldflags: [
|
ldflags: [
|
||||||
"-g",
|
"-g",
|
||||||
|
"-m", "elf_x86_64",
|
||||||
"-Bstatic",
|
"-Bstatic",
|
||||||
"--sysroot='${source_root}/sysroot'",
|
"--sysroot='${source_root}/sysroot'",
|
||||||
|
"--no-eh-frame-hdr",
|
||||||
"-L", "${source_root}/sysroot/lib",
|
"-L", "${source_root}/sysroot/lib",
|
||||||
"-z", "separate-code",
|
"-z", "separate-code",
|
||||||
"-lc++", "-lc++abi", "-lunwind",
|
"-lc++", "-lc++abi", "-lunwind",
|
||||||
|
|||||||
Reference in New Issue
Block a user