aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMoyster <oysterized@gmail.com>2018-11-29 23:59:26 +0100
committerMoyster <oysterized@gmail.com>2018-11-30 00:02:49 +0100
commitbe2a1194e40a49e08b28bc415e5126b0a99e1194 (patch)
tree3cca166a43fb676ce2d694711482069d64339264 /security
parentedb28d3f70cee6d30cd57e60ffb71343b263bc52 (diff)
Revert "GCC: Fix up for gcc 5+"
This reverts commit ff505baaf412985af758d5820cd620ed9f1a7e05.
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