diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-10-24 12:50:03 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-10-24 12:50:03 +0000 |
commit | 7450bb7c1a2195cacd61a77cfb69d7457531c816 (patch) | |
tree | f800db969415b3298c19e6f827f347841c20da42 /config | |
parent | 51aff68fd3296e0ebdc76defc983f00d86be2ad7 (diff) |
Add bootstrap-cet.mk to bootstrap GCC with Intel CET
Bootstrap GCC with Intel CET by configuring GCC with
--with-build-config="bootstrap-cet bootstrap-debug"
Tested on Linux/i686 and Linux/x86-64.
config/
* bootstrap-cet.mk: New file.
gcc/
* doc/install.texi: Document bootstrap-cet.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254043 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
-rw-r--r-- | config/ChangeLog | 4 | ||||
-rw-r--r-- | config/bootstrap-cet.mk | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog index 6732bf4f73f..2e3ead0a26b 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2017-10-24 H.J. Lu <hongjiu.lu@intel.com> + + * bootstrap-cet.mk: New file. + 2017-06-19 Martin Liska <mliska@suse.cz> * bootstrap-lto-noplugin.mk: Enable -flto in all PGO stages. diff --git a/config/bootstrap-cet.mk b/config/bootstrap-cet.mk new file mode 100644 index 00000000000..f09193a6dea --- /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 |