aboutsummaryrefslogtreecommitdiff
path: root/config/bootstrap-cet.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config/bootstrap-cet.mk')
-rw-r--r--config/bootstrap-cet.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/bootstrap-cet.mk b/config/bootstrap-cet.mk
new file mode 100644
index 0000000..f09193a
--- /dev/null
+++ b/config/bootstrap-cet.mk
@@ -0,0 +1,4 @@
+# This option enables -fcf-protection -mcet for stage2 and stage3.
+
+STAGE2_CFLAGS += -fcf-protection -mcet
+STAGE3_CFLAGS += -fcf-protection -mcet