diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-02-02 14:51:48 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-02-02 14:51:48 +0000 |
commit | 168b72be28dc6a1ef14d5672dd97616a10af294c (patch) | |
tree | 45d1c2202eb813a64579fd5b2803b0bd1bfae339 /test/Rules.mak | |
parent | f82635e74a7e174f71f955eaa4f5dc788e596cc0 (diff) |
libm/ldouble_wrappers.c: add libm_hidden_def's to fix testsuite build
test/Rules.mak: don't pass target options to host build
test/math/basic-test.c: fix test build error
patching file test/unistd/errno.c: fix test build warning
Diffstat (limited to 'test/Rules.mak')
-rw-r--r-- | test/Rules.mak | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Rules.mak b/test/Rules.mak index 83d1082df..92554c1f7 100644 --- a/test/Rules.mak +++ b/test/Rules.mak @@ -86,7 +86,9 @@ CC_IPREFIX := $(shell $(CC) --print-file-name=include) CC_INC := -I$(dir $(CC_IPREFIX))include-fixed -I$(CC_IPREFIX) CFLAGS += $(CC_INC) -HOST_CFLAGS += $(XWARNINGS) $(OPTIMIZATION) $(XCOMMON_CFLAGS) +# Can't add $(OPTIMIZATION) here, it may be target-specific. +# Just adding -Os for now. +HOST_CFLAGS += $(XWARNINGS) -Os $(XCOMMON_CFLAGS) LDFLAGS := $(CPU_LDFLAGS) ifeq ($(DODEBUG),y) |