Fixed options for cross-compilation. #35

Merged
merged 1 commit into from Feb 12, 2017

Conversation

Projects
None yet
2 participants
Contributor

NiklasAngare commented Feb 12, 2017

Replaced <host-os> with <target-os> so that the correct options for the target are selected when cross-compiling. When not cross-compiling, it makes no difference as target-os by default mirrors host-os.

Without this, I get the linker error "cannot find -lrt" on my regression test runner for QNX 6.6.0 which is cross-compiling from Linux to QNX.

@NiklasAngare NiklasAngare Fixed options for cross-compilation.
Replaced <host-os> with <target-os> so that the correct options for the target are selected when cross-compiling. When not cross-compiling, it makes no difference as target-os by default mirrors host-os.
0bf3e3f

@igaztanaga igaztanaga merged commit 0bf3e3f into boostorg:develop Feb 12, 2017

Collaborator

igaztanaga commented Feb 12, 2017

Thanks for the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment