aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authormydongistiny <jaysonedson@gmail.com>2015-11-23 17:01:42 -0800
committerMoyster <oysterized@gmail.com>2018-11-29 12:38:19 +0100
commitff505baaf412985af758d5820cd620ed9f1a7e05 (patch)
tree6486963ab0ffa407e1d67cbd539a968c7ab1c615 /drivers/platform
parent3d29fcecea03b179e8a07cd7f025402aa344f12e (diff)
GCC: Fix up for gcc 5+
Signed-off-by: mydongistiny <jaysonedson@gmail.com> Signed-off-by: Mister Oyster <oysterized@gmail.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/Makefile b/drivers/platform/Makefile
index 8a44a4cd6..7990aac1c 100644
--- a/drivers/platform/Makefile
+++ b/drivers/platform/Makefile
@@ -1,6 +1,7 @@
#
# Makefile for linux/drivers/platform
#
+CFLAGS_KERNEL := -fno-unsafe-math-optimizations -fno-strict-aliasing
obj-$(CONFIG_X86) += x86/
obj-$(CONFIG_OLPC) += olpc/