modified: pixi.toml
[GalaxyCodeBases.git] / etc / Windows / vlmcsd_old_vancepym / make_minix
blob0414001e923ab58663a1f8d0913dd12257a1de33
1 #!/bin/sh
3 export VLMCSD_VERSION=svn$(ssh root@ubuntu64.internal "cd x; svnversion")
4 scp -p make_minix root@ubuntu64.internal:x
5 scp -pr root@ubuntu64.internal:x/* .
8 # Compile vlmcsd binaries for Minix 3
10 SUFFIX=-minix-$(uname -r)-x86
11 export CC=clang
12 export CFLAGS="-pipe -fno-common -fno-exceptions -fno-stack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants"
13 export LDFLAGS="-Wl,--hash-style=sysv -Wl,-z,norelro -Wl,--build-id=none"
14 export PROGRAM_NAME=vlmcsd$SUFFIX
15 export CLIENT_NAME=vlmcs$SUFFIX
16 export MULTI_NAME=vlmcsdmulti$SUFFIX
18 gmake clean
19 gmake -B
20 rm -f vlmcsd.o vlmcs.o vlmcsdmulti.o
21 gmake $MULTI_NAME
23 strip -s --strip-unneeded --remove-section .eh_frame_hdr --remove-section .eh_frame --remove-section .ident --remove-section .note.minix.ident --remove-section .note.netbsd.pax --remove-section=.note.gnu.gold-version --remove-section=.comment --remove-section=.note --remove-section=.note.gnu.build-id --remove-section=.note.ABI-tag *$SUFFIX
25 scp -p *$SUFFIX root@ubuntu64.internal:x/binaries/Minix/intel/