Для этого сайта требуется поддержка JavaScript.
Обзор
Помощь
Регистрация
Вход
mozilla
/
gecko-dev
зеркало из
https://github.com/mozilla/gecko-dev.git
Следить
1
В избранное
0
Форкнуть
Вы уже форкнули gecko-dev
0
Код
Задачи
Пакеты
Проекты
Релизы
Вики
Активность
39792c8bdf
gecko-dev
/
layout
/
style
/
bindgen.toml.in
5 строки
46 B
TOML
Исходник
Обычный вид
История
Убрать экранирование
Экранировать
Bug 1368083 - Pass -isysroot to bindgen. r=gps When cross-compiling, rust-bindgen needs the -isysroot flag we pass to the C++ compiler to find the correct headers. Add a new BINDGEN_CFLAGS environment variable for passing this and other relevant options, and reformat its contents in toolchain.configure so we can use autoconf- style template substitution to poke it into a bindgen.toml file to be read by build scripts like build_gecko.rs. Set this variable from the macosx/cross-mozconfig.common to the same extra flags we pass to CXX so automation builds work correctly with --enable-stylo. MozReview-Commit-ID: 7wabObiFtVb --HG-- extra : rebase_source : eeba30e3d64112da65e2e6830ef5fc1b54965529
2017-07-06 21:34:03 +03:00
[
build
]
args
=
[
Bug 1341234 - part 2 - add an intermediate step for determining bindgen's CFLAGS; r=gps Add an intermediate step in old-configure.in for setting up BINDGEN_CFLAGS (renamed to BINDGEN_SYSTEM_FLAGS), so we can add whatever flags we like (e.g. for system libaries with their includes in non-standard places) at a later point.
2017-11-10 18:05:36 +03:00
@
BINDGEN_SYSTEM_FLAGS
@
Bug 1368083 - Pass -isysroot to bindgen. r=gps When cross-compiling, rust-bindgen needs the -isysroot flag we pass to the C++ compiler to find the correct headers. Add a new BINDGEN_CFLAGS environment variable for passing this and other relevant options, and reformat its contents in toolchain.configure so we can use autoconf- style template substitution to poke it into a bindgen.toml file to be read by build scripts like build_gecko.rs. Set this variable from the macosx/cross-mozconfig.common to the same extra flags we pass to CXX so automation builds work correctly with --enable-stylo. MozReview-Commit-ID: 7wabObiFtVb --HG-- extra : rebase_source : eeba30e3d64112da65e2e6830ef5fc1b54965529
2017-07-06 21:34:03 +03:00
]