Skip to content

Conversation

@semarie
Copy link
Contributor

@semarie semarie commented Feb 8, 2015

  • c-link-to-rust-staticlib: use EXTRACFLAGS defined by tools.mk for
    choose the good libraries to link to.

tools.mk define a variable EXTRACFLAGS that contains the needed library per target. So it is better to use it, instead of duplicate the code here. I keep the ifndef IS_WINDOWS has tools.mk define something for WINDOWS... so I don't change things that I couldn't test.

  • no-stack-check: disabled for openbsd (no segmented stacks here)
  • symbols-are-reasonable: use portable grep pattern
  • target-specs: use POSIX form for options when invoking grep
  • use-extern-for-plugins: disable as OpenBSD only support x86_64 for now

- c-link-to-rust-staticlib: use EXTRACFLAGS defined by tools.mk for
  choose the good libraries to link to.

- no-stack-check: disabled for openbsd (no segmented stacks here)

- symbols-are-reasonable: use portable grep pattern

- target-specs: use POSIX form for options when invoking grep

- use-extern-for-plugins: disable as OpenBSD only support x86_64 for now
@rust-highfive
Copy link
Contributor

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+ 8fb4264 rollup

Manishearth added a commit to Manishearth/rust that referenced this pull request Feb 10, 2015
- c-link-to-rust-staticlib: use `EXTRACFLAGS` defined by tools.mk for
  choose the good libraries to link to.

tools.mk define a variable `EXTRACFLAGS` that contains the needed library per target. So it is better to use it, instead of duplicate the code here. I keep the `ifndef IS_WINDOWS` has tools.mk define something for WINDOWS... so I don't change things that I couldn't test.

- no-stack-check: disabled for openbsd (no segmented stacks here)

- symbols-are-reasonable: use portable grep pattern

- target-specs: use POSIX form for options when invoking grep

- use-extern-for-plugins: disable as OpenBSD only support x86_64 for now
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Feb 10, 2015
- c-link-to-rust-staticlib: use `EXTRACFLAGS` defined by tools.mk for
  choose the good libraries to link to.

tools.mk define a variable `EXTRACFLAGS` that contains the needed library per target. So it is better to use it, instead of duplicate the code here. I keep the `ifndef IS_WINDOWS` has tools.mk define something for WINDOWS... so I don't change things that I couldn't test.

- no-stack-check: disabled for openbsd (no segmented stacks here)

- symbols-are-reasonable: use portable grep pattern

- target-specs: use POSIX form for options when invoking grep

- use-extern-for-plugins: disable as OpenBSD only support x86_64 for now
@bors bors merged commit 8fb4264 into rust-lang:master Feb 10, 2015
@semarie semarie deleted the openbsd-rmake branch February 11, 2015 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants