summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
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)