diff options
| author | Peter Jones <pjones@redhat.com> | 2013-10-01 14:03:16 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2013-10-01 14:03:16 -0400 |
| commit | bb2fe4cfb3fc050e4ef0dbb6af0c53a4f75200c9 (patch) | |
| tree | 048d338958abf211b5e4148f77b8630f9cadea4e /Makefile | |
| parent | 417077f8de33214b2942f5a6d8ff6af217b4f5dd (diff) | |
| download | efi-boot-shim-bb2fe4cfb3fc050e4ef0dbb6af0c53a4f75200c9.tar.gz efi-boot-shim-bb2fe4cfb3fc050e4ef0dbb6af0c53a4f75200c9.zip | |
Conditionalize overriding the security policy.
Make OVERRIDE_SECURITY_POLICY a build option.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21,6 +21,10 @@ CFLAGS = -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic \ "-DDEFAULT_LOADER=L\"$(DEFAULT_LOADER)\"" \ "-DDEFAULT_LOADER_CHAR=\"$(DEFAULT_LOADER)\"" \ $(EFI_INCLUDES) + +ifneq ($(origin OVERRIDE_SECURITY_POLICY), undefined) + CFLAGS += -DOVERRIDE_SECURITY_POLICY +endif ifeq ($(ARCH),x86_64) CFLAGS += -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI endif |
