aboutsummaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/Makefile b/drivers/md/Makefile
index 771180662..b774a8bc1 100644
--- a/drivers/md/Makefile
+++ b/drivers/md/Makefile
@@ -1,6 +1,7 @@
#
# Makefile for the kernel software RAID and LVM drivers.
#
+CFLAGS_KERNEL := -fno-unsafe-math-optimizations -fno-strict-aliasing
dm-mod-y += dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
dm-ioctl.o dm-io.o dm-kcopyd.o dm-sysfs.o