Make char default to "unsigned" on all platforms so we have a consistent base
authorRob Landley <rob@landley.net>
Thu, 1 Dec 2005 17:01:43 +0000 (17:01 -0000)
committerRob Landley <rob@landley.net>
Thu, 1 Dec 2005 17:01:43 +0000 (17:01 -0000)
to deal with all the new gcc 4.0.2 warnings from.

Rules.mak

index 537c3967c65e18805113fc97f7781f14e77dd842..b3ebeac1fee6436bd2a2cc8010bca10fdd0c81e7 100644 (file)
--- 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
 
 #--------------------------------------------------------