Skip to content

Removed -march=native flag#16

Open
MJohnson459 wants to merge 1 commit into
OpenDroneMap:masterfrom
MJohnson459:remove-march
Open

Removed -march=native flag#16
MJohnson459 wants to merge 1 commit into
OpenDroneMap:masterfrom
MJohnson459:remove-march

Conversation

@MJohnson459

Copy link
Copy Markdown

This flag propogates to all users of the library which makes them non-portable. Users of the library can still enable this flag if they wish. The binary sets the flag privately.

The mfpmath=sse is also non-portable although less extremely. It is the default on x64 architectures.

We could make these variables completely private to the library following modern cmake best practices but that would be a larger change.

This flag propogates to all users of the library which makes them
non-portable. Users of the library can still enable this flag if they
wish. The binary sets the flag privately.
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.

1 participant