From a0ea7c09e9b28bf6571363a2c3542fb03f7b34ae Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 7 Jan 2011 17:04:56 +0100 Subject: add varios patches... eglibc should install nsswitch.conf and others. add -fhonour-copts to TARGET_CFLAGS. --- rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules.mk') diff --git a/rules.mk b/rules.mk index 40d98186b..f10be0b86 100644 --- a/rules.mk +++ b/rules.mk @@ -49,7 +49,7 @@ export BASH HOSTCC HOSTCFLAGS MAKE LANGUAGE LC_ALL OStype PATH HOSTCPPFLAGS?= HOSTLDFLAGS?= -TARGET_CFLAGS:= $(strip -fno-ident ${TARGET_CFLAGS}) +TARGET_CFLAGS:= $(strip -fno-ident -fhonour-copts ${TARGET_CFLAGS}) TARGET_CC:= $(strip ${TARGET_CC}) TARGET_CXX:= $(strip ${TARGET_CXX}) -- cgit v1.2.3 From 18aa85857ca8fa9d75d41c36665a1cb7e8bbda5c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 8 Jan 2011 19:56:21 +0100 Subject: variable name cleanup --- rules.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'rules.mk') diff --git a/rules.mk b/rules.mk index f10be0b86..12ba160f2 100644 --- a/rules.mk +++ b/rules.mk @@ -45,11 +45,13 @@ endif include $(TOPDIR)/mk/vars.mk -export BASH HOSTCC HOSTCFLAGS MAKE LANGUAGE LC_ALL OStype PATH +export BASH HOSTCC HOSTCXX MAKE LANGUAGE LC_ALL OStype PATH +HOSTCFLAGS?= -O2 +HOSTCXXFLAGS?= -O2 HOSTCPPFLAGS?= HOSTLDFLAGS?= -TARGET_CFLAGS:= $(strip -fno-ident -fhonour-copts ${TARGET_CFLAGS}) +TARGET_CFLAGS:= $(strip ${TARGET_CFLAGS} -fno-ident -fhonour-copts) TARGET_CC:= $(strip ${TARGET_CC}) TARGET_CXX:= $(strip ${TARGET_CXX}) -- cgit v1.2.3