diff options
| author | mydongistiny <jaysonedson@gmail.com> | 2015-11-23 17:01:42 -0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2018-11-29 12:38:19 +0100 |
| commit | ff505baaf412985af758d5820cd620ed9f1a7e05 (patch) | |
| tree | 6486963ab0ffa407e1d67cbd539a968c7ab1c615 /security | |
| parent | 3d29fcecea03b179e8a07cd7f025402aa344f12e (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 'security')
| -rw-r--r-- | security/Makefile | 2 | ||||
| -rw-r--r-- | security/selinux/Makefile | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index c26c81e92..bbbc54b9f 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1,6 +1,8 @@ # # 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 ad5cd76ec..1306e009f 100644 --- a/security/selinux/Makefile +++ b/security/selinux/Makefile @@ -1,6 +1,7 @@ # # 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 |
