tools/Makefile: Simplify HOST_CFLAGS/HOST_LDFLAGS generation

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
master
Peter Tyser 16 years ago committed by Wolfgang Denk
parent b0d4d7219a
commit e50abf662e
  1. 17
      tools/Makefile

@ -35,22 +35,15 @@ TOOLSUBDIRS =
# multiple symbol definitions are treated as errors, hence the # multiple symbol definitions are treated as errors, hence the
# -multiply_defined suppress option to turn off this error. # -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 HOST_CFLAGS = -Wall
ifeq ($(HOSTOS)-$(HOSTARCH),netbsd-ppc)
HOST_CFLAGS = -Wall -pedantic
HOST_LDFLAGS = HOST_LDFLAGS =
# ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc)
# Everyone else HOST_CFLAGS += -traditional-cpp
# HOST_LDFLAGS += -multiply_defined suppress
else else
HOST_CFLAGS = -Wall -pedantic HOST_CFLAGS += -pedantic
HOST_LDFLAGS =
endif
endif endif
# #

Loading…
Cancel
Save