Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Freebsd Fixes for LLVM 4.0 #70

Merged
merged 3 commits into from
Apr 23, 2017
Merged

Conversation

TimNN
Copy link

@TimNN TimNN commented Apr 23, 2017

This PR contains three FreeBSD specific fixes, for the fixes themselves see the commit messages.

(Note: While doing the final rebase / cleanup of the LLVM 4.0 upgrade I decided that it would probably be nice to have a PR # associated with each rust modification for future reference / discussion, thus this PR.)

alexcrichton and others added 3 commits April 23, 2017 20:22
* When testing whether we need to pass `-Wl,-z,defs` the cmake files currently
  tests for FreeBSD, but only if the host system is FreeBSD. Instead we should
  test whether the target that we're compiling is FreeBSD so we correctly deduce
  that it should not be passed.

* The `PATH_MAX` constant is defined in a different place for the dsymutil tool,
  so we just config that code out for now as it apparently doesn't include the
  right header?
they don't compile on (at least) freebsd and we don't need them
@TimNN TimNN merged commit f1e7336 into rust-lang:rust-llvm-2017-04-13 Apr 23, 2017
@TimNN TimNN deleted the freebsd-4.0 branch April 23, 2017 18:29
arielb1 pushed a commit that referenced this pull request Jun 27, 2017
TimNN added a commit that referenced this pull request Jul 20, 2017
Freebsd Fixes for LLVM 4.0
TimNN added a commit that referenced this pull request Jul 20, 2017
Freebsd Fixes for LLVM 4.0
alexcrichton pushed a commit that referenced this pull request Jul 30, 2017
alexcrichton pushed a commit that referenced this pull request Aug 4, 2017
alexcrichton pushed a commit that referenced this pull request Aug 15, 2017
alexcrichton pushed a commit that referenced this pull request Oct 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants