X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/1025235c72c31f7fa7b648c0e32ddcaa68a8f66a..29891c3ccec4f1d28e0440d87ea2e2708377d2ee:/lunaix-os/usr/makefile diff --git a/lunaix-os/usr/makefile b/lunaix-os/usr/makefile index e49d7d0..4dc8d0d 100644 --- a/lunaix-os/usr/makefile +++ b/lunaix-os/usr/makefile @@ -3,6 +3,10 @@ include toolchain.mkinc task := all +# TODO make this use LBuild +CFLAGS += -m32 -ffreestanding -fno-pie +LDFLAGS += -m32 -nostdlib -nolibc -z noexecstack -no-pie -Wl,--build-id=none + sys_include := $(CURDIR)/includes build_dir := $(CURDIR)/build libc_name := liblunac