config.def.mk (1055B)
1 arch = x86_64 2 version = 0.0 3 mirror = http://dl.2f30.org/morpheus-pkgs/${arch}/${version} 4 pkgdirs = $mkbuild/../ports 5 nprocs = 2 6 7 TOOLCHAIN_TRIPLET = ${arch}-musl-linux 8 CC = ${TOOLCHAIN_TRIPLET}-gcc 9 CXX = ${TOOLCHAIN_TRIPLET}-g++ 10 LD = $CC 11 AR = ${TOOLCHAIN_TRIPLET}-ar 12 RANLIB = ${TOOLCHAIN_TRIPLET}-ranlib 13 STRIP = ${TOOLCHAIN_TRIPLET}-strip 14 CPP = ${TOOLCHAIN_TRIPLET}-cpp 15 16 HOST_TOOLCHAIN_TRIPLET = ${arch}-musl-linux 17 HOSTCC = $CC -static 18 # use STRIP = true instead of the above 19 # if you do not want stripped binaries 20 #STRIP = true 21 SHELL = /bin/sh 22 23 PREFIX = 24 BINDIR = ${PREFIX}/bin 25 LIBDIR = ${PREFIX}/lib 26 ETCDIR = ${PREFIX}/etc 27 DFLDIR = ${ETCDIR}/default 28 MANDIR = ${PREFIX}/share/man 29 30 INSTALL = /usr/bin/install 31 SUM = sha512sum 32 33 # these don't work for all packages yet... 34 optldflags = -s -Wl,--gc-sections -Wl,-z,relro,-z,now 35 optcflags = -fdata-sections -ffunction-sections -Os -g0 -fno-unwind-tables -fno-asynchronous-unwind-tables -Wa,--noexecstack 36 37 CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE 38 CFLAGS = ${CPPFLAGS} # ${optcflags} 39 LDFLAGS = -static ${optldflags}