1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-21 01:08:34 +00:00
morpheus/prepare-env
2014-02-19 14:52:20 +00:00

16 lines
512 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 arch version 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