summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-14 09:15:35 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-14 09:15:35 +0000
commit8fb868cee4d58c06175765bb446a815f8b52d104 (patch)
tree65ab347936142579b79fdc5af4552da8e30205d7
parent05160e204952c086fe4d0131b81a87f521fa7b47 (diff)
Strip off unwanted quotes from ARCH_CFLAGS. Attempt to
enforce consistent sort order, 'gcc -print-search-dirs' behavior, etc by forcing the build into the C locale. -Erik
-rw-r--r--Rules.mak6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rules.mak b/Rules.mak
index 333f370e7..a44bbc5fd 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -54,8 +54,8 @@ MAJOR_VERSION:=0
MINOR_VERSION:=9
SUBLEVEL:=16
VERSION:=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL)
-# Ensure consistent filename sort order
-LC_COLLATE:= C
+# Ensure consistent sort order, 'gcc -print-search-dirs' behavior, etc.
+LC_ALL:= C
export MAJOR_VERSION MINOR_VERSION SUBLEVEL VERSION LC_COLLATE
SHARED_FULLNAME:=libuClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so
@@ -169,7 +169,7 @@ endif
WARNINGS+=-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
# Some nice CFLAGS to work with
CFLAGS:=$(WARNINGS) $(OPTIMIZATION) -fno-builtin -nostdinc $(CPUFLAGS) \
- -D_LIBC $(CPU_CFLAGS-y) $(ARCH_CFLAGS) -I$(TOPDIR)include -I.
+ -D_LIBC $(CPU_CFLAGS-y) $(subst ",, $(strip $(ARCH_CFLAGS))) -I$(TOPDIR)include -I.
ifeq ($(DODEBUG),y)
CFLAGS += -g