Skip to content

Non-generic Arm flags #86

Open
Open

Description

@jolting

In OpenNI2/ThirdParty/PSCommon/BuildSystem/Platform.Arm this line should probably be removed.
CFLAGS += -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp #-mcpu=cortex-a8

Not all arm systems are cortex-a9, armv7-a, support neon and most importantly some use hard float abis. These CFLAGS should be specified at compile time for a specific platform by passing them into make.

For example -mfloat-abi=softfp creates build errors on Ubuntu 14.04 armhf.

It seems that the neon is required. It should probably be noted somewhere that OpenNI2 only supports ARM with NEON.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions