diff options
| author | 2026-01-01 12:00:33 +0100 | |
|---|---|---|
| committer | 2026-01-01 12:01:45 +0100 | |
| commit | 93194ef8447718ae78b345ce0a920bb5e6fdc090 (patch) | |
| tree | 34551543dffff4b53e66ffb94839cddc70810568 /targ.c | |
| parent | d7203ea5f46fef1b41ba3b32c0b9313df3b3740c (diff) | |
Use a configure script, query system toolchain for default include paths
Diffstat (limited to 'targ.c')
| -rw-r--r-- | targ.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -62,7 +62,7 @@ parsetriple(struct targtriple *trg, const char *str) return 1; } -#include "hostconfig.h" +#include "hostconfig.h" /* run ./configure */ void targ_init(const char *starg) @@ -86,7 +86,7 @@ targ_init(const char *starg) break; } } - if (!t) fatal(NULL, "unsupported target: %s", starg ? starg : "(host)"); + if (!t) fatal(NULL, "unsupported target: %s", starg ? starg : HOST_TRIPLE); sizes[TYBOOL] = sizes[TYCHAR] = sizes[TYSCHAR] = sizes[TYUCHAR] = 1; sizes[TYSHORT] = sizes[TYUSHORT] = 2; |