do not use 'portable' as a compile time option

Introduce the file core/start.lua to initialize applications variables
This commit is contained in:
Francesco Abbate
2021-02-24 16:29:39 +01:00
parent ea8a8770ea
commit 351a772466
5 changed files with 22 additions and 27 deletions
-4
View File
@@ -1,9 +1,5 @@
#!/bin/bash
if [[ $1 == -portable ]]; then
cflags="-DLITE_XL_DATA_USE_EXEDIR"
fi
cflags+="-Wall -O3 -g -std=gnu11 -fno-strict-aliasing -Isrc -Ilib/font_renderer"
cflags+=" $(pkg-config --cflags lua5.2) $(sdl2-config --cflags)"
lflags="-static-libgcc -static-libstdc++"