Temporarily back out r5521 until a more complete answer to the
filterWarnings problems is ready, as it currently breaks the OS X build. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5538 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
55fd46de26
commit
492636c3fa
|
@ -6,7 +6,7 @@ def filterWarnings(self, flags):
|
||||||
return ' '.join(
|
return ' '.join(
|
||||||
flag
|
flag
|
||||||
for flag in flags
|
for flag in flags
|
||||||
# if not flag.startswith('-W')
|
if not flag.startswith('-W')
|
||||||
)
|
)
|
||||||
|
|
||||||
# taken from scons wiki
|
# taken from scons wiki
|
||||||
|
@ -26,7 +26,7 @@ def CheckFramework(context, name):
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
""" + '\n', '.c')
|
""", '.c')
|
||||||
if not ret:
|
if not ret:
|
||||||
context.env.Replace(FRAMEWORKS = lastFRAMEWORKS
|
context.env.Replace(FRAMEWORKS = lastFRAMEWORKS
|
||||||
)
|
)
|
||||||
|
@ -73,7 +73,7 @@ def CheckLib(context, name):
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
""" + '\n','.c')
|
""", '.c')
|
||||||
if not ret:
|
if not ret:
|
||||||
context.env.Replace(LIBS = lastLIBS)
|
context.env.Replace(LIBS = lastLIBS)
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ def CheckPortaudio(context, version):
|
||||||
printf("%d", Pa_GetVersion());
|
printf("%d", Pa_GetVersion());
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
""" + '\n', '.c')[1]
|
""", '.c')[1]
|
||||||
|
|
||||||
if found:
|
if found:
|
||||||
ret = (version <= found)
|
ret = (version <= found)
|
||||||
|
|
Loading…
Reference in New Issue