aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-12-01 17:01:43 +0000
committerRob Landley <rob@landley.net>2005-12-01 17:01:43 +0000
commit4a070d1460456117e4286734682ec6462499edfe (patch)
treea8560ffaf34fbfbcc046681061b29bba42a9c507
parent1d589b2e2d6e9e0af719b481c7ef333bc73e2a7a (diff)
downloadbusybox-4a070d1460456117e4286734682ec6462499edfe.tar.gz
Make char default to "unsigned" on all platforms so we have a consistent base
to deal with all the new gcc 4.0.2 warnings from.
-rw-r--r--Rules.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rules.mak b/Rules.mak
index 537c3967c..b3ebeac1f 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -77,11 +77,11 @@ CFLAGS_EXTRA=$(subst ",, $(strip $(EXTRA_CFLAGS_OPTIONS)))
# For other libraries, you are on your own. But these may (or may not) help...
#LDFLAGS+=-nostdlib
#LIBRARIES:=$(LIBCDIR)/lib/libc.a -lgcc
-#CROSS_CFLAGS+=-nostdinc -I$(LIBCDIR)/include -I$(GCCINCDIR)
+#CROSS_CFLAGS+=-nostdinc -I$(LIBCDIR)/include -I$(GCCINCDIR) -funsigned-char
#GCCINCDIR:=$(shell gcc -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp")
WARNINGS=-Wall -Wstrict-prototypes -Wshadow
-CFLAGS=-I$(top_builddir)/include -I$(top_srcdir)/include -I$(srcdir)
+CFLAGS=-I$(top_builddir)/include -I$(top_srcdir)/include -I$(srcdir) -funsigned-char
ARFLAGS=cru
#--------------------------------------------------------