ref: eba17d80d42e07d4eb9176c66d1bbb3ee39e8d81
parent: c598dd38d7d921a59b9afa44fa5b7c8b8ae08e37
author: Quentin Rameau <[email protected]>
date: Tue Mar 7 04:37:14 EST 2017
[libc] Define AS for Makefiles
--- a/config.mk
+++ b/config.mk
@@ -18,6 +18,7 @@
# if your system is not at least POSIX 2004 compatible, adjust CC
# CC = c99
# AR = ar
+AS = as
# for Plan9 add -D_SUSV2_SOURCE
SCC_CFLAGS = -DARCH=\"$(ARCH)\" \
--- a/libc/src/sys/amd64-linux/Makefile
+++ b/libc/src/sys/amd64-linux/Makefile
@@ -1,4 +1,7 @@
+# See LICENSE file for copyright and license details.
.POSIX:
+
+include ../../../../config.mk
OBJ = _brk.o _close.o _exit.o _lseek.o _open.o _read.o _write.o
SRC = $(OBJ:.o=.s)