From 3c0c9f2d1ab546c60659252a9639bfad92b0fac1 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Fri, 4 Mar 2011 07:35:24 +0100 Subject: [PATCH] use compiler flag -fno-builtin to disable ALL builtin functions --- Makefile.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.example b/Makefile.example index 0d952b01..e5b96631 100644 --- a/Makefile.example +++ b/Makefile.example @@ -16,7 +16,7 @@ NASM = nasm NASMFLAGS = -felf32 -g INCLUDE = -I$(TOPDIR)/include -I$(TOPDIR)/arch/$(ARCH)/include -I$(TOPDIR)/lwip/src/include -I$(TOPDIR)/lwip/src/include/ipv4 -I$(TOPDIR)/drivers CC = gcc -CFLAGS = -g -m32 -march=i586 -Wall -O2 -fno-zero-initialized-in-bss -fno-builtin-function -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc $(INCLUDE) -fno-stack-protector +CFLAGS = -g -m32 -march=i586 -Wall -O2 -fno-zero-initialized-in-bss -fno-builtin -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc $(INCLUDE) -fno-stack-protector AR = ar ARFLAGS = rsv RM = rm -rf