Open fabriciorsf opened 3 months ago
Sure; but this is because you're specifying -g
without any optimization-levels. Because this is a user specified option; there's nothing we really need to change on our end, it's just something to note if you're using icx.
Remark on compile with
icx
(CC=icx BIN=libterminal.dll ./build.sh -g
)icx: remark: Note that use of '-g' without any optimization-level option will turn off most compiler optimizations similar to use of '-O0'; use '-Rno-debug-disables-optimization' to disable this remark [-Rdebug-disables-optimization]
Flags to realy optimize:
CFLAGS="$CFLAGS -O3 -fPIC -Ilib/lite-xl/resources/include"