mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-16 13:58:33 +00:00
16 lines
499 B
Plaintext
16 lines
499 B
Plaintext
top=$(pwd)
|
|
root=$top/root
|
|
libcroot=$root/opt/cross/x86_64-linux-musl/x86_64-linux-musl
|
|
nprocs=4
|
|
arch=x86_64
|
|
version=0.0
|
|
mirror=http://dl.2f30.org/morpheus-pkgs/$arch/$version
|
|
export top root libcroot nprocs mirror
|
|
|
|
optldflags="-s -Wl,--gc-sections -Wl,-z,relro,-z,now"
|
|
optcflags="-fdata-sections -ffunction-sections -Os -g0 -fno-unwind-tables -fno-asynchronous-unwind-tables -Wa,--noexecstack"
|
|
export optldflags optcflags
|
|
|
|
PATH=$root/opt/cross/x86_64-linux-musl/bin:$top/stuff/bin:$PATH
|
|
export PATH
|