提交 e50abf66 编写于 作者: P Peter Tyser 提交者: Wolfgang Denk

tools/Makefile: Simplify HOST_CFLAGS/HOST_LDFLAGS generation

Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
上级 b0d4d721
......@@ -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
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册