mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 03:15:00 +00:00
tools/Makefile: Simplify HOST_CFLAGS/HOST_LDFLAGS generation
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
This commit is contained in:
parent
b0d4d7219a
commit
e50abf662e
1 changed files with 7 additions and 14 deletions
|
@ -35,22 +35,15 @@ TOOLSUBDIRS =
|
|||
# multiple symbol definitions are treated as errors, hence the
|
||||
# -multiply_defined suppress option to turn off this error.
|
||||
#
|
||||
|
||||
HOST_CFLAGS = -Wall
|
||||
HOST_LDFLAGS =
|
||||
|
||||
ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc)
|
||||
HOST_CFLAGS = -traditional-cpp -Wall
|
||||
HOST_LDFLAGS =-multiply_defined suppress
|
||||
|
||||
HOST_CFLAGS += -traditional-cpp
|
||||
HOST_LDFLAGS += -multiply_defined suppress
|
||||
else
|
||||
ifeq ($(HOSTOS)-$(HOSTARCH),netbsd-ppc)
|
||||
HOST_CFLAGS = -Wall -pedantic
|
||||
HOST_LDFLAGS =
|
||||
|
||||
#
|
||||
# Everyone else
|
||||
#
|
||||
else
|
||||
HOST_CFLAGS = -Wall -pedantic
|
||||
HOST_LDFLAGS =
|
||||
endif
|
||||
HOST_CFLAGS += -pedantic
|
||||
endif
|
||||
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue