Skip to content

Commit d316712

Browse files
committed
Fix regression with last commit
1 parent d3f87f4 commit d316712

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,9 @@ loc: o/$(MODE)/tool/build/summy
436436
# PLEASE: MAINTAIN TOPOLOGICAL ORDER
437437
# FROM HIGHEST LEVEL TO LOWEST LEVEL
438438
COSMOPOLITAN_OBJECTS = \
439+
CTL \
440+
THIRD_PARTY_DOUBLECONVERSION \
441+
THIRD_PARTY_OPENMP \
439442
TOOL_ARGS \
440443
NET_HTTP \
441444
LIBC_SOCK \
@@ -445,7 +448,6 @@ COSMOPOLITAN_OBJECTS = \
445448
THIRD_PARTY_GETOPT \
446449
LIBC_LOG \
447450
THIRD_PARTY_TZ \
448-
THIRD_PARTY_OPENMP \
449451
THIRD_PARTY_MUSL \
450452
THIRD_PARTY_ZLIB_GZ \
451453
THIRD_PARTY_LIBCXXABI \
@@ -456,7 +458,6 @@ COSMOPOLITAN_OBJECTS = \
456458
LIBC_THREAD \
457459
LIBC_PROC \
458460
THIRD_PARTY_NSYNC_MEM \
459-
CTL \
460461
LIBC_MEM \
461462
THIRD_PARTY_DLMALLOC \
462463
LIBC_DLOPEN \

examples/BUILD.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ EXAMPLES_BINS = \
3939
$(EXAMPLES_COMS:%=%.dbg)
4040

4141
EXAMPLES_DIRECTDEPS = \
42+
CTL \
4243
DSP_CORE \
4344
DSP_SCALE \
4445
DSP_TTY \

examples/helloplus.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#include "ctl/ostream.h"
2+
3+
int main(int argc, char* argv[]) {
4+
ctl::cout << "hello world\n";
5+
return 0;
6+
}

libc/intrin/mmap.c

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,9 @@
1616
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
1717
│ PERFORMANCE OF THIS SOFTWARE. │
1818
╚─────────────────────────────────────────────────────────────────────────────*/
19-
#include "ape/sections.internal.h"
20-
#include "libc/atomic.h"
21-
#include "libc/calls/blockcancel.internal.h"
2219
#include "libc/calls/calls.h"
2320
#include "libc/calls/internal.h"
24-
#include "libc/calls/state.internal.h"
25-
#include "libc/calls/struct/sigset.internal.h"
2621
#include "libc/calls/syscall-sysv.internal.h"
27-
#include "libc/cosmo.h"
2822
#include "libc/dce.h"
2923
#include "libc/errno.h"
3024
#include "libc/intrin/atomic.h"
@@ -34,22 +28,19 @@
3428
#include "libc/intrin/kprintf.h"
3529
#include "libc/intrin/maps.h"
3630
#include "libc/intrin/strace.h"
31+
#include "libc/intrin/tree.h"
3732
#include "libc/intrin/weaken.h"
3833
#include "libc/nt/memory.h"
3934
#include "libc/nt/runtime.h"
4035
#include "libc/runtime/runtime.h"
41-
#include "libc/runtime/stack.h"
4236
#include "libc/runtime/zipos.internal.h"
4337
#include "libc/stdio/rand.h"
4438
#include "libc/stdio/sysparam.h"
45-
#include "libc/sysv/consts/auxv.h"
4639
#include "libc/sysv/consts/map.h"
4740
#include "libc/sysv/consts/mremap.h"
4841
#include "libc/sysv/consts/o.h"
4942
#include "libc/sysv/consts/prot.h"
5043
#include "libc/sysv/errfuns.h"
51-
#include "libc/thread/thread.h"
52-
#include "libc/thread/tls.h"
5344

5445
#define MMDEBUG IsModeDbg()
5546
#define MAX_SIZE 0x0ff800000000ul

tool/cosmocc/package.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ make -j64 m=$AMD64 \
4848
o/$AMD64/tool/build/chmod.dbg \
4949
o/$AMD64/tool/build/cocmd.dbg \
5050
o/$AMD64/tool/build/compile.dbg \
51+
o/$AMD64/tool/build/mkdir.dbg \
5152
o/$AMD64/tool/build/cp.dbg \
5253
o/$AMD64/tool/build/echo.dbg \
5354
o/$AMD64/tool/build/gzip.dbg \

0 commit comments

Comments
 (0)