diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-08-22 18:10:52 +0200 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2013-07-25 08:09:16 +0530 |
commit | 9649974225e06528bdeeb97f22cd60c20edf13bc (patch) | |
tree | 07ed896d6bf6169b765eee0ade1a9b3c23e1aef8 | |
parent | 68855ab130feca05eae05102381995ecaaf9a427 (diff) | |
download | build-9649974225e06528bdeeb97f22cd60c20edf13bc.tar.gz |
build: Explicitly disable -Werror=strict-alising for HOST builds
Change-Id: Ib1e834951196ab3ea6acbe47c27eebe5633f55d2
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r-- | core/combo/select.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/combo/select.mk b/core/combo/select.mk index 3be3d345b5..0188a5557f 100644 --- a/core/combo/select.mk +++ b/core/combo/select.mk @@ -50,6 +50,8 @@ $(combo_target)GLOBAL_CFLAGS := -fno-exceptions -Wno-multichar $(combo_target)RELEASE_CFLAGS := -O3 -g -Wstrict-aliasing=2 ifneq ($(combo_target),HOST_) $(combo_target)RELEASE_CFLAGS += -Werror=strict-aliasing +else +$(combo_target)RELEASE_CFLAGS += -Wno-error=strict-aliasing endif $(combo_target)GLOBAL_LDFLAGS := -Wl,-O2 $(combo_target)GLOBAL_ARFLAGS := crsP |