From: Peter Tyser Date: Fri, 13 Mar 2009 23:54:50 +0000 (-0500) Subject: tools/Makefile: Simplify HOST_CFLAGS/HOST_LDFLAGS generation X-Git-Tag: v2009.06-rc1~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e50abf662efbf4ce0e731062c8d3c8ec54763ae2;p=platform%2Fkernel%2Fu-boot.git tools/Makefile: Simplify HOST_CFLAGS/HOST_LDFLAGS generation Signed-off-by: Peter Tyser --- diff --git a/tools/Makefile b/tools/Makefile index d6d366d..9fe5b1a 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -35,22 +35,15 @@ TOOLSUBDIRS = # multiple symbol definitions are treated as errors, hence the # -multiply_defined suppress option to turn off this error. # -ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc) -HOST_CFLAGS = -traditional-cpp -Wall -HOST_LDFLAGS =-multiply_defined suppress -else -ifeq ($(HOSTOS)-$(HOSTARCH),netbsd-ppc) -HOST_CFLAGS = -Wall -pedantic +HOST_CFLAGS = -Wall HOST_LDFLAGS = -# -# Everyone else -# +ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc) +HOST_CFLAGS += -traditional-cpp +HOST_LDFLAGS += -multiply_defined suppress else -HOST_CFLAGS = -Wall -pedantic -HOST_LDFLAGS = -endif +HOST_CFLAGS += -pedantic endif #