summaryrefslogtreecommitdiffstats
path: root/tools/depends/native/config.site.native.in
blob: 35171a78aa378884b557bea646c5dbbcc6120582 (plain)
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
LD="${LD:-@LD_FOR_BUILD@}"
CC="${CC:-@CCACHE@ @CC_FOR_BUILD@}"
CXX="${CXX:-@CCACHE@ @CXX_FOR_BUILD@}"
AR="${AR:-@AR_FOR_BUILD@}"
RANLIB="${RANLIB:-@RANLIB_FOR_BUILD@}"
AS="${AS:-@AS_FOR_BUILD@}"
NM="${NM:-@NM_FOR_BUILD@}"
STRIP="${STRIP:-@STRIP_FOR_BUILD@}"
READELF="${READELF:-@READELF_FOR_BUILD@}"
OBJDUMP="${OBJDUMP:-@OBJDUMP_FOR_BUILD@}"

CFLAGS="@host_includes@ -I@prefix@/@tool_dir@/include $CFLAGS"
LDFLAGS="@host_includes@ -L@prefix@/@tool_dir@/lib $LDFLAGS"
CPPFLAGS="@host_includes@ -I@prefix@/@tool_dir@/include $CPPFLAGS"
CXXFLAGS="@host_includes@ -I@prefix@/@tool_dir@/include $CXXFLAGS"

PKG_CONFIG=@prefix@/@tool_dir@/bin/pkg-config
export PKG_CONFIG_LIBDIR=@prefix@/@tool_dir@/lib/pkgconfig

PATH=@prefix@/@tool_dir@/bin:$PATH
if test -n "@use_build_toolchain@"; then
  PATH=@use_build_toolchain@/usr/bin:@use_build_toolchain@/bin:$PATH
fi

LD_LIBRARY_PATH=@prefix@/@tool_dir@/lib:$LD_LIBRARY_PATH
NASM=@prefix@/@tool_dir@/bin/nasm