scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 7bbb49493406d9e853655c73decdeaa5f87ee4e4
parent 85a3f664472f0e09c5384a62a48e4f7a8bcb2f47
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 19 Oct 2018 15:26:23 +0100

[libc] Add needed flags for linux

Diffstat:
Mlib/c/target/amd64-sysv-linux/Makefile | 2+-
Mlib/c/target/amd64-sysv-linux/syscall.mk | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/c/target/amd64-sysv-linux/Makefile b/lib/c/target/amd64-sysv-linux/Makefile @@ -7,7 +7,7 @@ SYS = linux ARCH = amd64 ABI = sysv SYSERRTBL = ../posix/linux.e -MORECFLAGS = -std=c99 -g -static -nostdinc +MORECFLAGS = -std=c99 -g -static -nostdinc -ffreestanding -fno-stack-protector SYSOBJ = raise.o signal.o include syscall.mk diff --git a/lib/c/target/amd64-sysv-linux/syscall.mk b/lib/c/target/amd64-sysv-linux/syscall.mk @@ -1 +1 @@ -SYSCALL = _Exit.o _read.o _write.o _open.o _close.o _brk.o _getpid.o _kill.o _sigaction.o _lseek.o +SYSCALL = _read.o _write.o _open.o _close.o _lseek.o _brk.o _sigaction.o _getpid.o _Exit.o _kill.o