summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-10 00:29:07 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-10 00:29:07 +0000
commitc5598b733a285fd27ccd59bfa74da1b445f35572 (patch)
tree5a97573328fde84c5f16ec8689f0c75825a908fc /Rules.mak
parent3c0c7475bf93e117be94f630589dfac19ce8c6a6 (diff)
force -fsigned-char for everyone
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak7
1 files changed, 5 insertions, 2 deletions
diff --git a/Rules.mak b/Rules.mak
index 08340e070..9b0829ac4 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -212,8 +212,8 @@ endif
ifeq ($(TARGET_ARCH),h8300)
CPU_LDFLAGS-$(CONFIG_H8300H)+= -ms8300h
CPU_LDFLAGS-$(CONFIG_H8S) += -ms8300s
- CPU_CFLAGS-$(CONFIG_H8300H) += -mh -mint32 -fsigned-char
- CPU_CFLAGS-$(CONFIG_H8S) += -ms -mint32 -fsigned-char
+ CPU_CFLAGS-$(CONFIG_H8300H) += -mh -mint32
+ CPU_CFLAGS-$(CONFIG_H8S) += -ms -mint32
endif
ifeq ($(TARGET_ARCH),cris)
@@ -291,6 +291,9 @@ XWARNINGS=$(subst ",, $(strip $(WARNINGS))) -Wstrict-prototypes -Wno-trigraphs -
XARCH_CFLAGS=$(subst ",, $(strip $(ARCH_CFLAGS)))
CPU_CFLAGS=$(subst ",, $(strip $(CPU_CFLAGS-y)))
+# Make sure "char" behavior is the same everywhere
+CPU_CFLAGS += -fsigned-char
+
LDADD_LIBFLOAT=
ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y)
# Add -msoft-float to the CPU_FLAGS since ldso and libdl ignore CFLAGS.