1 # SPDX-License-Identifier: GPL-2.0+
3 # Copyright (C) 2011 Samsung Electronics
6 # necessary to create built-in.o
9 hostprogs-y := tools/mkorigenspl
10 always := $(hostprogs-y)
12 # omit -O2 option to suppress
13 # warning: dereferencing type-punned pointer will break strict-aliasing rules
16 # Fix the root cause in tools/mkorigenspl.c and delete the following work-around
17 $(obj)/tools/mkorigenspl: HOSTCFLAGS:=$(filter-out -O2,$(HOSTCFLAGS))