-
Notifications
You must be signed in to change notification settings - Fork 194
/
Copy pathgcc-toolchain.xml
59 lines (48 loc) · 1.95 KB
/
gcc-toolchain.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<xml>
<set name="NO_PRECOMPILED_HEADERS" value="1" if="GCC_OLD" />
<set name="USE_PRECOMPILED_HEADERS" value="gcc" unless="NO_PRECOMPILED_HEADERS"/>
<set name="USE_GCC_FILETYPES" value="1"/>
<linker id="static_link" exe="ar" unless="windows">
<ext value="${LIBEXT}"/>
<exe name="${EXEPREFIX}-ar" if="EXEPREFIX" />
<exe name="${HXCPP_AR}" if="HXCPP_AR" />
<fromfile value="" if="GCC_OLD" />
<fromfile value="" if="tizen" />
<fromfile value="" if="blackberry" />
<outflag value="-cr "/>
<outflag value="cr " if="emscripten" />
<section if="HXCPP_USE_LIBTOOL">
<exe name="libtool" />
<exe name="${HXCPP_LIBTOOL}" if="HXCPP_LIBTOOL" />
<outflag value="-o " />
<fromfile value="-filelist " needsQuotes="false" />
</section>
<!-- <outflag value="-o " if="emscripten" /> -->
<recreate value="1" unless="HXCPP_LIBTOOL" />
<expandAr value="1" if="android" />
<expandAr value="1" if="emscripten" />
<expandAr value="1" if="linux" />
<section unless="HXCPP_USE_LIBTOOL">
<ranlib name="ranlib" />
<ranlib name="${EXEPREFIX}-ranlib" if="EXEPREFIX" />
<ranlib name="${HXCPP_RANLIB}" if="HXCPP_RANLIB" />
</section>
</linker>
<set name="nostrip" value="1" if="debug"/>
<set name="nostrip" value="1" if="dll_import"/>
<set name="nostrip" value="1" if="dll_export"/>
<set name="nostrip" value="1" if="HXCPP_DEBUG_LINK"/>
<unset name="nostrip" if="HXCPP_DEBUG_LINK_AND_STRIP"/>
<stripper id="strip" exe="strip" unless="nostrip">
<exe name="strip"/>
<exe name="arm-none-linux-gnueabi-strip" if="webos" />
<exe name="${EXEPREFIX}-strip" if="EXEPREFIX" />
<exe name="${HXCPP_STRIP}" if="HXCPP_STRIP" />
<exe name="mipsel-linux-strip" if="gcw0" />
<exe name="mipsel-gcw0-linux-uclibc-strip" if="gcw0 windows_host" />
<flag value="-u" if="macos"/>
<flag value="-r" if="macos"/>
<flag value="-x" if="macos"/>
<flag value="-d" if="linux"/>
</stripper>
</xml>