targets/XSD_toolchain_gcc
author Edouard Tisserant <edouard@beremiz.fr>
Tue, 20 Feb 2024 11:42:02 +0100
changeset 3893 5b2f3a915a43
parent 1478 69fe0b81e951
permissions -rw-r--r--
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="Compiler" type="xsd:string" use="optional" default="gcc"/>
          <xsd:attribute name="CFLAGS" type="xsd:string" use="optional" default=""/>
          <xsd:attribute name="Linker" type="xsd:string" use="optional" default="gcc"/>
          <xsd:attribute name="LDFLAGS" type="xsd:string" use="optional" default=""/>