Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.gecko.mk
Show First 20 Lines • Show All 141 Lines • ▼ Show 20 Lines | |||||
# Adjust -C target-cpu if -march/-mcpu is set by bsd.cpu.mk | # Adjust -C target-cpu if -march/-mcpu is set by bsd.cpu.mk | ||||
.if ${ARCH} == amd64 || ${ARCH} == i386 | .if ${ARCH} == amd64 || ${ARCH} == i386 | ||||
RUSTFLAGS+= ${CFLAGS:M-march=*:S/-march=/-C target-cpu=/} | RUSTFLAGS+= ${CFLAGS:M-march=*:S/-march=/-C target-cpu=/} | ||||
.else | .else | ||||
RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/} | RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/} | ||||
.endif | .endif | ||||
.if defined(WITH_CCACHE_BUILD) | |||||
jbeichUnsubmitted Not Done Inline Actions
jbeich: - Can you move the whole conditional close to where `.if ${PORT_OPTIONS:M...}` conditonals are? | |||||
MOZ_OPTIONS+= --with-ccache | |||||
BUILD_DEPENDS+= ccache:devel/ccache # XXX host ccache not detected/honoured | |||||
jbeichUnsubmitted Not Done Inline ActionsIsn't BUILD_DEPENDS already handled by Mk/bsd.ccache.mk? jbeich: Isn't `BUILD_DEPENDS` already handled by Mk/bsd.ccache.mk? | |||||
vishwinAuthorUnsubmitted Not Done Inline ActionsUnfortunately not in this (edge) case. Especially in poudriere, if using the host's statically-linked ccache, the binary gets copied to the reference jail's /ccache/bin/ccache, which is not in $PATH. The mozilla build system only looks for ccache in $PATH, so without this line, the build fails when using host-based ccache. vishwin: Unfortunately not in this (edge) case. Especially in poudriere, if using the host's statically… | |||||
.endif | |||||
# Standard depends | # Standard depends | ||||
_ALL_DEPENDS= event ffi graphite harfbuzz hunspell icu jpeg nspr nss png pixman sqlite vpx | _ALL_DEPENDS= event ffi graphite harfbuzz hunspell icu jpeg nspr nss png pixman sqlite vpx | ||||
event_LIB_DEPENDS= libevent.so:devel/libevent | event_LIB_DEPENDS= libevent.so:devel/libevent | ||||
event_MOZ_OPTIONS= --with-system-libevent | event_MOZ_OPTIONS= --with-system-libevent | ||||
ffi_LIB_DEPENDS= libffi.so:devel/libffi | ffi_LIB_DEPENDS= libffi.so:devel/libffi | ||||
ffi_MOZ_OPTIONS= --enable-system-ffi | ffi_MOZ_OPTIONS= --enable-system-ffi | ||||
▲ Show 20 Lines • Show All 381 Lines • Show Last 20 Lines |