[klibc] [PATCH v2 3/5] Kbuild: use "libc.a" with clang

Thorsten Glaser tg at debian.org
Sat Mar 28 17:03:47 PDT 2020

>>  # These options are not supported by clang but only result in a warning
>>  # so we can't use a cc-option test to filter them.

Do they also result in a warning only if you add -Werror?

This is how I test most of the things in mksh, and besides
sarge’s GCC failing to error out on __attribute__((bounded))
it mostly catches those cases… if not, suggest that to the
clang developers.

11:56⎜«liwakura:#!/bin/mksh» also, i wanted to add mksh to my own distro │
i was disappointed that there is no makefile │ but somehow the Build.sh is
the least painful built system i've ever seen │ honours CC, {CPP,C,LD}FLAGS
properly │ looks cleary like done by someone who knows what they are doing

More information about the klibc mailing list