summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rules.mak5
1 files changed, 2 insertions, 3 deletions
diff --git a/Rules.mak b/Rules.mak
index 6d8538c1b..d61495f29 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -76,8 +76,8 @@ GCCINCDIR = $(shell gcc -print-search-dirs | sed -ne "s/install: \(.*\)/\1includ
ARFLAGS=r
-CCFLAGS= $(OPTIMIZATION) -fno-builtin -nostdinc $(CPUFLAGS) -Dlinux -D__linux__ -I$(TOPDIR)include -I$(GCCINCDIR) -I. -D__PIC__ -D__LIBC__
-CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
+CCFLAGS=$(OPTIMIZATION) -nostdinc $(CPUFLAGS) -Dlinux -D__linux__ -I$(TOPDIR)include -I$(GCCINCDIR) -I. -D__PIC__ -D__LIBC__
+CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS) -fpic
ifeq ($(DODEBUG),true)
CFLAGS += -Wall -g -D__PIC__
@@ -104,7 +104,6 @@ ifneq ($(DO_FIXME_STUFF),true)
endif
-
# Use '-ffunction-sections -fdata-sections' and '--gc-sections' if they work
# to try and strip out any unused junk automagically....
#