diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2024-06-02 15:55:37 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2024-06-02 15:55:37 +0000 |
commit | 75e33212fbfd22e332585849cfc3c5cfd3343b44 (patch) | |
tree | 858e84a3fc172e75022675e7d13f3aac6bf6f87c | |
parent | 1700cdcbfc24ecd73e706bff6335685af5f61cc4 (diff) |
Due to growth, crunchgen must also try to block -fret-clean, so also use
COPTS+=-fno-ret-clean
-rw-r--r-- | usr.sbin/crunchgen/crunchgen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/crunchgen/crunchgen.c b/usr.sbin/crunchgen/crunchgen.c index b5a859bd4df..9666816ce1a 100644 --- a/usr.sbin/crunchgen/crunchgen.c +++ b/usr.sbin/crunchgen/crunchgen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crunchgen.c,v 1.27 2023/09/14 16:39:00 jca Exp $ */ +/* $OpenBSD: crunchgen.c,v 1.28 2024/06/02 15:55:36 deraadt Exp $ */ /* * Copyright (c) 1994 University of Maryland @@ -897,6 +897,7 @@ top_makefile_rules(FILE * outmk) fprintf(outmk, "CFLAGS+=-fno-unwind-tables\n"); fprintf(outmk, ".if ${MACHINE} == \"amd64\"\n"); fprintf(outmk, "CFLAGS+=-fcf-protection=none\n"); + fprintf(outmk, "CFLAGS+=-no-ret-clean\n"); fprintf(outmk, ".endif\n"); fprintf(outmk, ".if ${MACHINE} == \"arm64\"\n"); fprintf(outmk, "CFLAGS+=-mbranch-protection=none\n"); |