Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: evbarm default odroid C1kernel fail to compile



On Thu, Jul 28, 2016 at 02:51:36PM -0500, Pietro S. wrote:
[...]
> Changing "static void inline" with "static inline void" just leads to more
> errors.

Well, it leads to the next set of errors.

BTW, there is a "-Wextra" in your gcc command line that isn't on my
command line.

Looking through the makefiles it looks like this might be coming from
conf/Makefile.kern.inc, line 80:

.  if ${MACHINE} == "i386" || ${MACHINE_ARCH} == "x86_64" || \
        ${MACHINE_ARCH} == "sparc64" || ${MACHINE} == "prep"
CWARNFLAGS+=    -Wextra -Wno-unused-parameter
.  endif


It looks like that sets compile options based on the host instead of
the target architecture...


Christof

-- 

http://cmeerw.org                              sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org


Home | Main Index | Thread Index | Old Index