[Buildroot] [PATCH] package/syslogd: workaround a compiler bug with CS powerpc 2012.03

Peter Korsgaard peter at korsgaard.com
Sat Feb 20 09:21:43 UTC 2016


>>>>> "Romain" == Romain Naour <romain.naour at gmail.com> writes:

Hi,

 >> Does this mean that sysklogd isn't using our TARGET_CFLAGS (where we
 >> most likely pass -Os)?

 > -O3 is added by SKFLAGS variable which is used as CFLAGS.
 > TARGET_CFLAGS is not taken into account :-/

 >> 
 >> Why don't we fix that instead?
 > We could try to replace SKFLAGS by CFLAGS...

Yes, I believe simply passing SKFLAGS="$(TARGET_CFLAGS)" would work.

Can you give it a try?

-- 
Venlig hilsen,
Peter Korsgaard 



More information about the buildroot mailing list