summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-12-11 00:52:12 +0000
committerMike Frysinger <vapier@gentoo.org>2006-12-11 00:52:12 +0000
commit257678943161eba72051cbbe6c3cbefd63924cd8 (patch)
tree44f90e850e302f3fa5e17f7fcdf17c986b4350b9 /Rules.mak
parent08c9e9e978882a46433e8b07699e3a9d6254e821 (diff)
kill off the need for fix_includes.sh by utilizing KERNEL_SOURCE directly
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak7
1 files changed, 1 insertions, 6 deletions
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)