diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2017-07-28 10:07:05 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2017-07-28 10:07:05 +0000 |
commit | 5c66346501f463ff199dd53a71e3c12c04c72fa2 (patch) | |
tree | 53bdad22b98e397714bd65ad0f0246811ee7f30e /gnu/usr.bin | |
parent | 59d47f0a0fd2e72429048731b706fa1db243cf3a (diff) |
Implement -Oz as an alias for -Os here as well.
ok aoyama@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/gcc/gcc/toplev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/gcc/toplev.c b/gnu/usr.bin/gcc/gcc/toplev.c index 9fdd5e28d80..673b3d31346 100644 --- a/gnu/usr.bin/gcc/gcc/toplev.c +++ b/gnu/usr.bin/gcc/gcc/toplev.c @@ -4925,7 +4925,7 @@ parse_options_and_default_flags (argc, argv) /* Handle -Os, -O2, -O3, -O69, ... */ char *p = &argv[i][2]; - if ((p[0] == 's') && (p[1] == 0)) + if ((p[0] == 's' || p[0] == 'z') && (p[1] == 0)) { optimize_size = 1; |