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

Fix build system issues #807

Merged
merged 2 commits into from
Dec 30, 2018
Merged

Fix build system issues #807

merged 2 commits into from
Dec 30, 2018

Conversation

Martchus
Copy link
Contributor

I made these changes to build the library on the Raspberry Pi. The build system picks my CXX_FLAGS nicely. However, it also adds some unwanted ones.

Instead of adding more "clever" detections to decide when to use which flags this change just adds the possibility to skip unwanted ones. That's simple and sufficient.

@Martchus
Copy link
Contributor Author

I accidentally pushed the fix for libswresample (see #808) on the same branch. I can create a separate PR if required.

@dbogdanov
Copy link
Member

That's right, two separate pull requests will be better.

Btw, #258 addresses builds on ARM, but having an explicit "no-msse" flag is a good option too.

This makes sense when building for other platforms
than x86.
@Martchus
Copy link
Contributor Author

Created a 2nd PR.

Btw, #258 addresses builds on ARM, but having an explicit "no-msse" flag is a good option too.

It seems so. But it should work the other way around and only add those flags for architectures known to support them. I suppose the check for arm wouldn't even cover aarch64 (because you would likely need to check for arm64 there). So I decided to keep it simple rather than make it "clever" and just let the packager/user decide.

@dbogdanov dbogdanov merged commit 62e96c9 into MTG:master Dec 30, 2018
@Martchus Martchus deleted the fix-build-system branch December 30, 2018 19:23
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