Merge #16183: depends: xtrans: Configure flags cleanup.

30ea931dee depends: xtrans: Configure flags cleanup. (Carl Dong)

Pull request description:

  ```
  xtrans does not understand the --with-pic and --disable-shared flags we
  pass it because it is not a library. Instead, we should pass it flags
  that disable features/packages we're not using so they don't get a
  chance to sneak in.
  ```

  Here's a comparison of stdout and stderr of `make -j(nproc) V=1 xtrans_built` before and after this PR: https://gist.github.com/dongcarl/4ebf6fe9985ebc1508190f75932e4237

ACKs for top commit:
  fanquake:
    ACK 30ea931dee

Tree-SHA512: 49e060dffbae8c148c1164b493d03e7db4f260e7746d94c783377185c665e16fb6638827473709ed543eb266cc293d2313f61ade05ee8af4edb0bfbda0d1f785
This commit is contained in:
fanquake 2019-06-25 13:33:36 +08:00
commit bc948d4cfd
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -6,7 +6,7 @@ $(package)_sha256_hash=054d4ee3efd52508c753e9f7bc655ef185a29bd2850dd9e2fc2ccc335
$(package)_dependencies= $(package)_dependencies=
define $(package)_set_vars define $(package)_set_vars
$(package)_config_opts_linux=--with-pic --disable-shared $(package)_config_opts_linux=--disable-docs --without-xmlto --without-fop --without-xsltproc
endef endef
define $(package)_preprocess_cmds define $(package)_preprocess_cmds