Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.
/ leveldown Public archive

Fix Android compilation#411

Merged
ralphtheninja merged 1 commit intoLevel:masterfrom
staltz:fix-android
Nov 24, 2017
Merged

Fix Android compilation#411
ralphtheninja merged 1 commit intoLevel:masterfrom
staltz:fix-android

Conversation

@staltz
Copy link
Contributor

@staltz staltz commented Nov 23, 2017

Using a few C flags and linker flags, mostly related to Position Independent Code (PIC). Also was important to not set -mfloat-abi=hard but rather let each Android architecture decide whether to use hard or soft.

I tested this on both arm and arm64 real devices. Also used it in a real use case, so these proposed changes are battle tested.

Using a few C flags and linker flags, mostly related to Position Independent Code (PIC)
@ralphtheninja
Copy link
Member

Nice! Should be safe to merge straight away since it doesn't interfere with any of the other OSes.

Q: Should this be a patch or a minor? cc @vweevers @juliangruber

@ralphtheninja ralphtheninja self-assigned this Nov 24, 2017
@juliangruber
Copy link
Member

Adding a new platform should be a new feature, I say minor.

Great work, @staltz! 👏

@ralphtheninja ralphtheninja merged commit 2462735 into Level:master Nov 24, 2017
@ralphtheninja
Copy link
Member

Will publish 2.1.0 once travis and appveyor are done.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants