randomconfig fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2020-06-24 00:27:37 +02:00
parent 5fa5c4bde8
commit 7c443d110d
3 changed files with 6 additions and 2 deletions

View File

@@ -117,6 +117,7 @@ fi
if test x"$LIBC" = x"musl"; then
cat .config \
| grep -v CONFIG_STATIC \
| grep -v CONFIG_DEBUG_SANITIZE \
| grep -v CONFIG_LFS \
| grep -v CONFIG_EXTRA_COMPAT \
| grep -v CONFIG_FEATURE_2_4_MODULES \
@@ -126,6 +127,8 @@ if test x"$LIBC" = x"musl"; then
>.config.new
mv .config.new .config
echo 'CONFIG_STATIC=y' >>.config
# "error: cannot specify -static with -fsanitize=address":
echo '# CONFIG_DEBUG_SANITIZE is not set' >>.config
# with LFS off, uoff_t will have wrong width:
echo 'CONFIG_LFS=y' >>.config
echo '# CONFIG_EXTRA_COMPAT is not set' >>.config