aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/Makefile2
-rw-r--r--security/selinux/Makefile1
2 files changed, 0 insertions, 3 deletions
diff --git a/security/Makefile b/security/Makefile
index bbbc54b9f..c26c81e92 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1,8 +1,6 @@
#
# Makefile for the kernel security code
#
-CFLAGS_commoncap.o := -fno-unsafe-math-optimizations -fno-strict-aliasing
-CFLAGS_lsm_audit.o := -fno-unsafe-math-optimizations -fno-strict-aliasing
obj-$(CONFIG_KEYS) += keys/
subdir-$(CONFIG_SECURITY_SELINUX) += selinux
diff --git a/security/selinux/Makefile b/security/selinux/Makefile
index 1306e009f..ad5cd76ec 100644
--- a/security/selinux/Makefile
+++ b/security/selinux/Makefile
@@ -1,7 +1,6 @@
#
# Makefile for building the SELinux module as part of the kernel tree.
#
-CFLAGS_KERNEL := -fno-unsafe-math-optimizations -fno-strict-aliasing
obj-$(CONFIG_SECURITY_SELINUX) := selinux.o