From a2aa17fafc9a5b452b93c43fff8da7d27c5c0885 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Thu, 11 Oct 2018 08:36:35 +0200 Subject: [PATCH] some drivers complain about strict-aliasing --- configure/os/CONFIG.Common.eldk42-ppc4xxFP | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure/os/CONFIG.Common.eldk42-ppc4xxFP b/configure/os/CONFIG.Common.eldk42-ppc4xxFP index 001b9df7a..5aea3600e 100644 --- a/configure/os/CONFIG.Common.eldk42-ppc4xxFP +++ b/configure/os/CONFIG.Common.eldk42-ppc4xxFP @@ -20,3 +20,6 @@ ARCH_DEP_CXXFLAGS += -I $(ELDK)/$(GNU_TARGET)/usr/include/c++/4.2.2/backward ARCH_DEP_LDFLAGS += -Wl,-rpath-link,$(ELDK)/$(GNU_TARGET)/lib ARCH_DEP_LDFLAGS += -Wl,-rpath-link,$(ELDK)/$(GNU_TARGET)/usr/lib + +# Some drivers complain +ARCH_DEP_CFLAGS += -fno-strict-aliasing