Closed NF3RN0 closed 9 years ago
The intention was 'let the user pass CFLAGS with -mfpu=neon'. The rpi2 supports -mfpu=neon-vfp4. But this flag is not backward compatible with cortex-a8 or cortex-a9 cores.
@gizmo98
If the user passes in CFLAGS then the whole of CFLAGS will need to be passed in as the makefile doesn't use (overridable?) to add to it. Not got the brain power at the minute to fix this issue.
Sorry. RetroPie-Setup uses OPTFLAGS to pass this information.
actually I can use OPTFLAGS too to fix this. Does RetroPie also pass in '-flto' for OPTFLAGS because it will be overridden within the makefile.
@NF3RN0 I have defined OPTFLAGS within RaspbianList_Pi2 so when using the build script, you should now get -mfpu=neon passed into the compiler.
Yeah. Link time optimization flag will be overridden. Have you tested if the plugin runs faster with -flto?
Afraid not and can't test at the moment - working away from home and ssh fails to connect.
CFLAGS += -mfpu=neon