beremiz
Clone
Summary
Browse
Changes
Graph
GCC toolchain: Add {SYSROOT} substitution with support for whitespaces
2024-02-20, Edouard Tisserant
5b2f3a915a43
GCC toolchain: Add {SYSROOT} substitution with support for whitespaces
Any instance of {SYROOT} string in config's CFLAGS and LDFLAGS is replaced by sysroot path obtained from "gcc -print-sysroot"
<xsd:attribute name="Command" type="xsd:string" use="optional" default="make -C %(buildpath)s -f ../project_files/Makefile all BEREMIZSRC=%(src)s BEREMIZCFLAGS=%(cflags)s MD5=%(md5)s USE_BEREMIZ=1 FROM_BEREMIZ=1"/>