1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-16 09:58:32 +00:00
morpheus/config.mk
sin 1c117e6f74 Comment out optcflags and optldflags
These mostly work but not for all packages.  ncurses and/or libevent
seem to have trouble with them.
2014-02-28 18:16:36 +00:00

19 lines
627 B
Makefile

top = `{pwd}
root = ${top}/root
#arch = i486
arch = x86_64
libcroot = ${root}/opt/cross/${arch}-linux-musl/${arch}-linux-musl
nprocs = 4
version = 0.0
mirror = http://dl.2f30.org/morpheus-pkgs/${arch}/${version}
CC = ${arch}-linux-musl-gcc
# these don't work for all packages yet...
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
CFLAGS = -I${libcroot}/include -static # ${optcflags}
LDFLAGS = -L${libcroot}/lib -static # ${optldflags}
PATH = ${root}/opt/cross/${arch}-linux-musl/bin:${PATH}