From 257678943161eba72051cbbe6c3cbefd63924cd8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 11 Dec 2006 00:52:12 +0000 Subject: kill off the need for fix_includes.sh by utilizing KERNEL_SOURCE directly --- Rules.mak | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 5f404489a..6822f8ce8 100644 --- a/Rules.mak +++ b/Rules.mak @@ -471,6 +471,7 @@ else PTNAME := PTINC := endif +CFLAGS += -I$(KERNEL_SOURCE) # Sigh, some stupid versions of gcc can't seem to cope with '-iwithprefix include' #CFLAGS+=-iwithprefix include @@ -480,12 +481,6 @@ ifneq ($(DOASSERTS),y) CFLAGS+=-DNDEBUG endif -# moved from ldso/{ldso,libdl} -# BEWARE!!! At least mips* will die if -O0 is used!!! -ifeq ($(TARGET_ARCH),mips) -CFLAGS:=$(CFLAGS:-O0=-O1) -endif - # Keep the check_as from being needlessly executed ifndef ASFLAGS_NOEXEC ifeq ($(UCLIBC_BUILD_NOEXECSTACK),y) -- cgit v1.2.3