diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2017-11-21 13:19:45 -0800 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2018-01-24 17:20:01 -0800 |
commit | c337d9f929491dd3723943be7182d000f424db7e (patch) | |
tree | 140148b2f64f38568f648437d57d7680010942cd /src/libprotoc.map | |
parent | 80e016e83898b2bd4f197f1d57c7e1453828e846 (diff) | |
download | protobuf-c337d9f929491dd3723943be7182d000f424db7e.tar.gz protobuf-c337d9f929491dd3723943be7182d000f424db7e.tar.bz2 protobuf-c337d9f929491dd3723943be7182d000f424db7e.zip |
Remove the use of BUILT_SOURCES
Fixes https://github.com/google/protobuf/issues/3912
[BUILT_SOURCES](https://www.gnu.org/software/automake/manual/html_node/Sources.html)
is used with [Automake's automatic dependency tracking](https://www.gnu.org/software/automake/manual/html_node/Dependencies.html#Dependencies)
but doesn't work well in protobuf when cross-compiling. Their presence
causes maek to always generate them even when they are not requested
and as a result causes cross-compilation to fail because the built protoc
cannot be used to generate unittest protos (see: https://github.com/google/protobuf/issues/3912).
Removing it with explicit dependencies fixes the build issue when running
'make', 'make all', 'make install' at cross-compilation. It doesn't affect
'make protoc' because BUILT_SOURCES only works for the implicit targets
'all', 'check' or 'install'.
Diffstat (limited to 'src/libprotoc.map')
0 files changed, 0 insertions, 0 deletions