mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
* Sync with the trunk.
This commit is contained in:
commit
d66ea83a76
16 changed files with 107 additions and 34 deletions
|
@ -71,6 +71,15 @@ fi
|
|||
AC_PROG_CC
|
||||
AC_PROG_CXX
|
||||
|
||||
# To build programs to be run in the build machine
|
||||
if test "$CC_FOR_BUILD" = ""; then
|
||||
if test "$cross_compiling" = "yes"; then
|
||||
AC_CHECK_PROGS(CC_FOR_BUILD, gcc cc)
|
||||
else
|
||||
CC_FOR_BUILD="$CC"
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([CC_FOR_BUILD])
|
||||
|
||||
# We are going to use libtool.
|
||||
AC_DISABLE_STATIC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue