Avoid newline errors, will cause library checks to fail otherwise if -Werror is on.

Dunno why this is in our code, I think scons has this built in ?


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5521 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
bztdlinux 2010-05-27 22:19:16 +00:00
parent 66914c7ae4
commit 5663872c7c
1 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ def filterWarnings(self, flags):
return ' '.join(
flag
for flag in flags
if not flag.startswith('-W')
# if not flag.startswith('-W')
)
# taken from scons wiki
@ -26,7 +26,7 @@ def CheckFramework(context, name):
int main(int argc, char **argv) {
return 0;
}
""", '.c')
""" + '\n', '.c')
if not ret:
context.env.Replace(FRAMEWORKS = lastFRAMEWORKS
)
@ -72,8 +72,8 @@ def CheckLib(context, name):
ret = context.TryLink("""
int main(int argc, char **argv) {
return 0;
}
""",'.c')
}
""" + '\n','.c')
if not ret:
context.env.Replace(LIBS = lastLIBS)
@ -130,7 +130,7 @@ def CheckPortaudio(context, version):
printf("%d", Pa_GetVersion());
return 0;
}
""", '.c')[1]
""" + '\n', '.c')[1]
if found:
ret = (version <= found)