scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit e35b235d743259f6fbacd4037aab735d3e39dca3
parent 347a3c1db0431826910730f43819715fa3a6c7f8
Author: Quentin Rameau <quinq@fifth.space>
Date:   Tue,  7 Mar 2017 09:37:14 +0100

[libc] Define AS for Makefiles

Diffstat:
Mconfig.mk | 1+
Mlibc/src/sys/amd64-linux/Makefile | 3+++
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/config.mk b/config.mk @@ -18,6 +18,7 @@ MANPREFIX = $(PREFIX)/share/man # 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)\" \ diff --git a/libc/src/sys/amd64-linux/Makefile b/libc/src/sys/amd64-linux/Makefile @@ -1,5 +1,8 @@ +# 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)