Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Makefile to support cross compilation #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

a7ypically
Copy link

Tested on lede (fork of OpenWRT) and works though lede doesn't like the libevent_core LIB and only works if I change it to libevent but this should probably be a lede patch and not a generic fix.

I have not tested this on openbsd but from I can find `gcc -dumpmachine' should return something with openbsd.

@darkk darkk force-pushed the master branch 6 times, most recently from 7fa694d to 5df6a30 Compare February 1, 2018 20:41
@svlobanov
Copy link

@darkk could you please merge this PR? This PR is still actual and doesn't break anything

Currently Makefile uses uname and gcc (not $CC), it break cross-compile compilation e.g. on macos(host) for linux(target)

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.

2 participants