From d739ddbd38eba4582b70cef53b87b4861efec960 Mon Sep 17 00:00:00 2001 From: ionut Date: Fri, 8 May 2026 23:24:02 +0300 Subject: [PATCH] small tweaks --- Makefile | 4 ++++ TODO.md | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d95e6ac..57e9582 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,10 @@ RANLIB=ranlib ifeq ($(MODE), release) OPT=-Oz +ifneq ($(CC), clang) +# clang emits LLVM bitcode in lto mode, which only clang and lld understand +OPT += -flto +endif DEBUG= else OPT=-O0 diff --git a/TODO.md b/TODO.md index 2a856c2..705466c 100644 --- a/TODO.md +++ b/TODO.md @@ -20,7 +20,6 @@ Not everything OC has (as a few of them are really MC-centered) but most of it. - `internet` component (note: NN does not handle internet requests, those are up to the emulator) - `relay` component (note: OCDoc still refers to it as `access_point`) - `geolyzer` component -- `net_splitter` component - `redstone` component - `motion_sensor` component - `printer3d` component (note: maybe add signal for when printer completes?)