mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-03 07:29:23 +00:00
Fix build in opt mode
This commit is contained in:
parent
a3ccc5af1f
commit
8b08e81a07
4 changed files with 10 additions and 0 deletions
|
@ -4,6 +4,10 @@ if [ "$MODE" = dbg ]; then
|
|||
exit # TODO
|
||||
fi
|
||||
|
||||
if [ "$MODE" = opt ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
# smoke test userspace binary emulation
|
||||
CMD="o/$MODE/tool/build/blinkenlights.com.dbg o/$MODE/examples/hello.com"
|
||||
if OUTPUT="$($CMD)"; then
|
||||
|
|
|
@ -4,6 +4,10 @@ if [ "$MODE" = dbg ]; then
|
|||
exit # TODO
|
||||
fi
|
||||
|
||||
if [ "$MODE" = opt ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
# smoke test booting on bare metal and printing data to serial uart
|
||||
CMD="o/$MODE/tool/build/blinkenlights.com.dbg -r o/$MODE/examples/hello.com"
|
||||
if OUTPUT="$($CMD)"; then
|
||||
|
|
1
third_party/sqlite3/btree.c
vendored
1
third_party/sqlite3/btree.c
vendored
|
@ -14,6 +14,7 @@
|
|||
** Including a description of file format and an overview of operation.
|
||||
*/
|
||||
#include "third_party/sqlite3/btreeInt.inc"
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
|
||||
/* clang-format off */
|
||||
|
||||
|
|
1
third_party/sqlite3/sqlite3session.c
vendored
1
third_party/sqlite3/sqlite3session.c
vendored
|
@ -3,6 +3,7 @@
|
|||
#include "libc/assert.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "third_party/sqlite3/sqlite3session.inc"
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
|
||||
#ifndef SQLITE_AMALGAMATION
|
||||
#include "third_party/sqlite3/sqliteInt.inc"
|
||||
|
|
Loading…
Add table
Reference in a new issue