I took a look at makefile.a64 and it's quite a bit different from the one I'm using, but I had been compiling a 32 bit binary due some past issues.
Notably, the line
gcc -MM $(COPTS) `$(PERL_FLAGS)` $$i | sed "s#^[^ ]*:#$$f:#g"; \
would need the `$(PERL_FLAGS)` section removed as we've already executed the commands above and the appropriate flags should now be appended to COPTS and LINKOPTS.
SVN indicates that the targeted makefiles have not been updated for a few years so it may be wise to start with the main makefile and adjust for architecture.
|