aboutsummaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/Makefile b/drivers/base/Makefile
index 154bd4a5e..aa6689653 100644
--- a/drivers/base/Makefile
+++ b/drivers/base/Makefile
@@ -1,4 +1,5 @@
# Makefile for the Linux device tree
+CFLAGS_KERNEL := -fno-unsafe-math-optimizations -fno-strict-aliasing
obj-y := core.o bus.o dd.o syscore.o \
driver.o class.o platform.o \