summaryrefslogtreecommitdiff
path: root/config/bootstrap-Og.mk
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-07-08 06:21:11 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-07-08 06:21:11 +0000
commit8849d5034c5ab5c2e6f3fc17209504576e7c6dd4 (patch)
tree6c81e16a6fd1010a056d4fde943565f6e51f6891 /config/bootstrap-Og.mk
parent0de175b8d6722cca2221bbb52772f975058ac183 (diff)
Add a build config for bootstrapping at -Og
Although BOOT_CFLAGS can be used to bootstrap with -Og, having a dedicated build config is sometimes more convenient. 2019-07-08 Richard Sandiford <richard.sandiford@arm.com> config/ * bootstrap-Og.mk: New file. gcc/ * doc/install.texi (bootstrap-Og): Document. From-SVN: r273193
Diffstat (limited to 'config/bootstrap-Og.mk')
-rw-r--r--config/bootstrap-Og.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/bootstrap-Og.mk b/config/bootstrap-Og.mk
new file mode 100644
index 00000000000..9057afbe354
--- /dev/null
+++ b/config/bootstrap-Og.mk
@@ -0,0 +1 @@
+BOOT_CFLAGS := -Og $(filter-out -O%, $(BOOT_CFLAGS))