Get codebase completely working with LLVM
You can now build Cosmopolitan with Clang:
make -j8 MODE=llvm
o/llvm/examples/hello.com
The assembler and linker code is now friendly to LLVM too.
So it's not needed to configure Clang to use binutils under
the hood. If you love LLVM then you can now use pure LLVM.
This commit is contained in:
@@ -362,7 +362,7 @@ static struct Cell derasterize(unsigned char block[CN][YS * XS]) {
|
||||
unsigned char bf[1u << MC][2];
|
||||
rgb2lin(CN * YS * XS, lb[0], block[0]);
|
||||
n = combinecolors(bf, block);
|
||||
best = -1u;
|
||||
best = FLT_MAX;
|
||||
cell.rune = 0;
|
||||
for (i = 0; i < n; ++i) {
|
||||
b = bf[i][0];
|
||||
|
||||
Reference in New Issue
Block a user