http://bugzilla.opensuse.org/show_bug.cgi?id=1083830
http://bugzilla.opensuse.org/show_bug.cgi?id=1083830#c8
--- Comment #8 from Dave Plater ---
Suffixing ".decode('utf-8')" doesn't work with either:
def CompilerCheck( context ):
context.Message( "Checking for a working C-compiler " )
ret = context.TryRun( """
#include
int main() {
printf( "Hello World!" );
return 0;
}""", '.c' ).decode('utf-8')[0]
context.Result( ret )
or
if 'CFLAGS' in env:
oldcf = env['CFLAGS']
else:
oldcf = ""
env.Append(CFLAGS = '-std=c99')
if conf.CheckLibWithHeader( "m", "math.h", "c", "lrint(3.2);"
).decode('utf-8'):
HAVE_LRINT = 1
else:
HAVE_LRINT = 0
if conf.CheckLibWithHeader( "m", "math.h", "c", "lrintf(3.2);"
).decode('utf-8'):
HAVE_LRINTF = 1
else:
HAVE_LRINTF = 0
env['HAVE_LRINT'] = HAVE_LRINT;
env['HAVE_LRINTF'] = HAVE_LRINTF;
env.Replace(CFLAGS=oldcf)
What am I doing wrong?
The ffado developer doesn't have the facility to run python 3 scons and relies
on me to supply the build failures.
--
You are receiving this mail because:
You are on the CC list for the bug.