mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 776537 - Pass a valid environment to populate_virtualenv.py, unbreaking configure, by expanding HOST_CFLAGS and friends when they're created. r=glandium
Also fix up some Makefile.in's so they specify HOST_CFLAGS/CXXFLAGS correctly. --HG-- extra : rebase_source : 5a6b983527bfb1cd7b551916dac286f130a736c6
This commit is contained in:
parent
a3ec7aebd3
commit
129d1498c6
@ -26,3 +26,4 @@ HOST_CPPSRCS = $(CPPSRCS)
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
CXXFLAGS += -DMOZ_LIBSTDCXX_VERSION=$(MOZ_LIBSTDCXX_TARGET_VERSION)
|
||||
HOST_CXXFLAGS += -DMOZ_LIBSTDCXX_VERSION=$(MOZ_LIBSTDCXX_TARGET_VERSION)
|
||||
|
18
configure.in
18
configure.in
@ -338,28 +338,28 @@ else
|
||||
AC_CHECK_PROGS(STRIP, strip, :)
|
||||
AC_CHECK_PROGS(WINDRES, windres, :)
|
||||
if test -z "$HOST_CC"; then
|
||||
HOST_CC='$(CC)'
|
||||
HOST_CC="$CC"
|
||||
fi
|
||||
if test -z "$HOST_CFLAGS"; then
|
||||
HOST_CFLAGS='$(CFLAGS)'
|
||||
HOST_CFLAGS="$CFLAGS"
|
||||
fi
|
||||
if test -z "$HOST_CXX"; then
|
||||
HOST_CXX='$(CXX)'
|
||||
HOST_CXX="$CXX"
|
||||
fi
|
||||
if test -z "$HOST_CXXFLAGS"; then
|
||||
HOST_CXXFLAGS='$(CXXFLAGS)'
|
||||
HOST_CXXFLAGS="$CXXFLAGS"
|
||||
fi
|
||||
if test -z "$HOST_LDFLAGS"; then
|
||||
HOST_LDFLAGS='$(LDFLAGS)'
|
||||
HOST_LDFLAGS="$LDFLAGS"
|
||||
fi
|
||||
if test -z "$HOST_RANLIB"; then
|
||||
HOST_RANLIB='$(RANLIB)'
|
||||
HOST_RANLIB="$RANLIB"
|
||||
fi
|
||||
if test -z "$HOST_AR"; then
|
||||
HOST_AR='$(AR)'
|
||||
HOST_AR="$AR"
|
||||
fi
|
||||
if test -z "$HOST_AR_FLAGS"; then
|
||||
HOST_AR_FLAGS='$(AR_FLAGS)'
|
||||
HOST_AR_FLAGS="$AR_FLAGS"
|
||||
fi
|
||||
fi
|
||||
|
||||
@ -8790,7 +8790,7 @@ AC_SUBST(PYTHON)
|
||||
# Populate the virtualenv
|
||||
AC_MSG_RESULT([Populating Python virtualenv])
|
||||
MACOSX_DEPLOYMENT_TARGET= LDFLAGS="${HOST_LDFLAGS}" \
|
||||
CC="${CC}" CXX="${CXX}" \
|
||||
CC="${HOST_CC}" CXX="${HOST_CXX}" \
|
||||
CFLAGS="${HOST_CFLAGS}" CXXFLAGS="${HOST_CXXFLAGS}" \
|
||||
$PYTHON $_topsrcdir/build/virtualenv/populate_virtualenv.py \
|
||||
$_topsrcdir $_topsrcdir/build/virtualenv/packages.txt \
|
||||
|
@ -48,4 +48,4 @@ LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/mozapps/update/updater
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
CXXFLAGS += $(MOZ_BZ2_CFLAGS)
|
||||
HOST_CXXFLAGS += $(MOZ_BZ2_CFLAGS)</textarea>
|
||||
|
Loading…
Reference in New Issue
Block a user