Avoid depending on __isoc99_sscanf@GLIBC_2.7 when building on Linux with glibc >= 2.7 (bug 4894, r=dvander).
This commit is contained in:
parent
f2fedbc3e6
commit
cb2de2e5c4
@ -22,6 +22,8 @@ def BuildCURL():
|
||||
if AMBuild.target['platform'] == 'darwin':
|
||||
env['CFLAGS'] += ' -isysroot /Developer/SDKs/MacOSX10.5.sdk'
|
||||
env['LDFLAGS'] = '-mmacosx-version-min=10.5'
|
||||
else:
|
||||
env['CFLAGS'] += ' -D_GNU_SOURCE'
|
||||
curl.AddCommand(command.DirectCommand(argv = args, env = env))
|
||||
curl.AddCommand(command.ShellCommand('cd lib && make'))
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user