aboutsummaryrefslogtreecommitdiff
path: root/drivers/of/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of/Makefile')
-rw-r--r--drivers/of/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/Makefile b/drivers/of/Makefile
index 8098b4dd3..f08047219 100644
--- a/drivers/of/Makefile
+++ b/drivers/of/Makefile
@@ -1,3 +1,5 @@
+CFLAGS_KERNEL := -fno-unsafe-math-optimizations -fno-strict-aliasing
+
obj-y = base.o
obj-$(CONFIG_OF_FLATTREE) += fdt.o
obj-$(CONFIG_OF_PROMTREE) += pdt.o