From aa17d7cc8a541140c74bc6958b91b69e7a2d4e35 Mon Sep 17 00:00:00 2001 From: Giacomo Tesio Date: Sun, 13 Sep 2020 02:25:47 +0200 Subject: [PATCH] gcc: map `-9` to a few flags in DRIVER_SELF_SPECS --- cross/patch/gcc/gcc/config/jehanne.h | 1 + 1 file changed, 1 insertion(+) diff --git a/cross/patch/gcc/gcc/config/jehanne.h b/cross/patch/gcc/gcc/config/jehanne.h index fd63174..aa81591 100644 --- a/cross/patch/gcc/gcc/config/jehanne.h +++ b/cross/patch/gcc/gcc/config/jehanne.h @@ -155,6 +155,7 @@ #undef LIB_SPEC #define LIB_SPEC "%{!9:%(posixly_lib)} -ljehanne" +#define DRIVER_SELF_SPECS "%{9:-fno-builtin -fno-omit-frame-pointer -fplan9-extensions -fvar-tracking -fvar-tracking-assignments}" /* Files that are linked before user code. The %s tells gcc to look for these files in the library directory. */