allow for stripped down cowos kernel

This commit is contained in:
cowmonk 2025-07-21 15:27:46 -07:00
parent 3d0bd481c9
commit f0ddc1ebee

View file

@ -28,7 +28,8 @@ make
By default the kernel is compiled with debug symbols, if you would like to avoid this, you can simply override the CFLAGS: By default the kernel is compiled with debug symbols, if you would like to avoid this, you can simply override the CFLAGS:
```bash ```bash
cd kernel/ # it is recommended to go to the actual directory yourself cd kernel/ # it is recommended to go to the actual directory yourself
make CFLAGS="-s -O3 -pipe" make CFLAGS="-O3 -pipe"
llvm-strip --strip-all ./kernel/bin/cowos # strip everything
cd .. # return to root cd .. # return to root
make make
``` ```