summaryrefslogtreecommitdiff
path: root/Build/source/texk/make/cross.mk
blob: f433a27828a2a853ad9929d9d54dcb802f8e5e86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# cross.mk -- used by Makefiles for build-host executables.

BUILDCC = @BUILDCC@
BUILDCFLAGS = @BUILDCFLAGS@
BUILDCPPFLAGS = @BUILDCPPFLAGS@

ALL_BUILDCPPFLAGS = $(DEFS) -I. -I$(srcdir) -I$(kpathsea_parent) \
  -I$(kpathsea_srcdir_parent) $(prog_cflags) $(BUILDCPPFLAGS)
ALL_BUILDCFLAGS = $(ALL_BUILDCPPFLAGS) $(BUILDCFLAGS)
build_compile = $(BUILDCC) $(ALL_BUILDCFLAGS)

# Don't include $(BUILDCFLAGS), since ld -g under Linux forces
# static libraries, e.g., libc.a and libX*.a.
BUILDLDFLAGS = @BUILDLDFLAGS@

# May as well separate linking from compiling, just in case.
BUILDCCLD = @BUILDCCLD@
build_link_command = $(BUILDCCLD) -o $@ $(BUILDLDFLAGS) 

# End of cross.mk.