{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/1293","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/1293/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/1293/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/1293/events","html_url":"https://github.com/rust-lang/cargo/issues/1293","id":57403445,"number":1293,"title":"Allow build scripts to output -C flags","user":{"login":"Manishearth","id":1617736,"avatar_url":"https://avatars.githubusercontent.com/u/1617736?v=3","gravatar_id":"","url":"https://api.github.com/users/Manishearth","html_url":"https://github.com/Manishearth","followers_url":"https://api.github.com/users/Manishearth/followers","following_url":"https://api.github.com/users/Manishearth/following{/other_user}","gists_url":"https://api.github.com/users/Manishearth/gists{/gist_id}","starred_url":"https://api.github.com/users/Manishearth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manishearth/subscriptions","organizations_url":"https://api.github.com/users/Manishearth/orgs","repos_url":"https://api.github.com/users/Manishearth/repos","events_url":"https://api.github.com/users/Manishearth/events{/privacy}","received_events_url":"https://api.github.com/users/Manishearth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-02-12T01:13:55Z","updated_at":"2015-02-12T06:27:26Z","closed_at":null,"body":"Currently, build scripts can only modify the `-l` and `-L` flags that are passed to rustc.\r\n\r\nWould it be possible to include `-C` in those, at least `-C link-args`?"},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/74023888","html_url":"https://github.com/rust-lang/cargo/issues/1293#issuecomment-74023888","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/1293","id":74023888,"user":{"login":"Manishearth","id":1617736,"avatar_url":"https://avatars.githubusercontent.com/u/1617736?v=3","gravatar_id":"","url":"https://api.github.com/users/Manishearth","html_url":"https://github.com/Manishearth","followers_url":"https://api.github.com/users/Manishearth/followers","following_url":"https://api.github.com/users/Manishearth/following{/other_user}","gists_url":"https://api.github.com/users/Manishearth/gists{/gist_id}","starred_url":"https://api.github.com/users/Manishearth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manishearth/subscriptions","organizations_url":"https://api.github.com/users/Manishearth/orgs","repos_url":"https://api.github.com/users/Manishearth/repos","events_url":"https://api.github.com/users/Manishearth/events{/privacy}","received_events_url":"https://api.github.com/users/Manishearth/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T06:27:26Z","updated_at":"2015-02-12T06:27:26Z","body":"What about sysroot? That's the only one we seem to really need; the rest can be moved into -L, -l, and LD_LIBRARY_PATH"}}