Hi All,

I really need some help as I'm a bit out of my depth.

I've created my own OpenWRT package for Node.js. It works fine on raspberry pi 2, but raspberry pi 3 is my current mission and it seems to be having trouble.

When I select the Raspberry Pi 3 type it seems to fail when compiling the v8 source engine. It says this cpu type is not upported (looks like it's trying to use -march=armv8-a -mtune=cortex-a53)

Here is the error:
../deps/v8/src/base/atomicops_internals_arm_gcc.h:258:4: error: #error "Your CPU's ARM architecture is not supported yet"
#  error "Your CPU's ARM architecture is not supported yet"

That seems clear, cortex-a53 is not supported. So the question is, how can I over-ride the default compile flags and force a specific architecture (for example to force -march=armv8-a -mtune=armv8-a).

Really appreciate anybody's help here.