Skip to content

Building with older Android NDK: getauxval not available #138

@hrydgard

Description

@hrydgard

The tangle of #ifdefs in CpuArch.h decides that getauxval is available on ARM32 in old Android NDKs, but it just isn't. This breaks my upgrade of libchdr in PPSSPP: hrydgard/ppsspp#20462

Can we have a DONT_HAVE_AUXVAL define or something, so I don't have to fork?

Or, just do something like

# if __ANDROID_API__ < 18
 // don't use getauxval
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions