6 rm -f vlmcsd-
* vlmcs-
* vlmcsdmulti-
* *_all.
* 2>/dev
/null
7 rm -f vlmcsdmulti vlmcsd vlmcs
2>/dev
/null
12 CF
="-flto=12 -static-libgcc -pipe -fwhole-program -fno-common -fno-exceptions -fno-stack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants"
13 CF45
="-static-libgcc -pipe -fno-common -fno-exceptions -fno-stack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants"
14 CFCLANG
="-pipe -fno-common -fno-exceptions -fno-stack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants"
15 LF
="-Wl,-z,norelro -Wl,--hash-style=sysv -Wl,--build-id=none"
16 LFCLANG
="-Wl,-z,norelro -Wl,--hash-style=sysv"
18 gmake
$MAKEFLAGS PROGRAM_NAME
=vlmcsd-DragonFly-x64 CLIENT_NAME
=vlmcs-DragonFly-x64 CFLAGS
="$CF" LDFLAGS
="$LF"
20 gmake vlmcsdmulti-DragonFly-x64
$REUSEOBJFLAGS CFLAGS
="$CF" LDFLAGS
="$LF" MULTI_NAME
=vlmcsdmulti-DragonFly-x64
24 strip
-s --strip-unneeded --remove-section=.eh_frame_hdr
--remove-section=.eh_frame
--remove-section=.note.gnu.gold-version
--remove-section=.comment
--remove-section=.note
--remove-section=.note.gnu.build-id
--remove-section=.note.ABI-tag vlmcs-
* vlmcsd-
* vlmcsdmulti-
*
25 sstrip
-z vlmcs-
* vlmcsd-
* vlmcsdmulti-
*
27 cp -af vlmcsd-DragonFly-x64
/usr
/local
/sbin
/vlmcsd
28 cp -af vlmcs-DragonFly-x64
/usr
/local
/bin
/vlmcs
30 # Copy everything to distribution server
31 scp
-p vlmcsdmulti-
* vlmcsd-
* vlmcs-
* root@ubuntu64
:x
/binaries
/DragonFly
/intel
/