Avoid depending on __isoc99_sscanf@GLIBC_2.7 when building on Linux with glibc >= 2.7 (bug 4894, r=dvander).
authorScott Ehlert <ds@alliedmods.net>
Thu Apr 28 02:43:55 2011 -0500 (2011-04-28)
changeset 3265336ecbdc92c7
parent 3264 770f71ad8216
child 3266 9f60b6ea9c95
Avoid depending on __isoc99_sscanf@GLIBC_2.7 when building on Linux with glibc >= 2.7 (bug 4894, r=dvander).
extensions/curl/AMBuilder
     1.1 --- a/extensions/curl/AMBuilder	Mon Apr 25 19:05:48 2011 -0400
     1.2 +++ b/extensions/curl/AMBuilder	Thu Apr 28 02:43:55 2011 -0500
     1.3 @@ -22,6 +22,8 @@
     1.4  			if AMBuild.target['platform'] == 'darwin':
     1.5  				env['CFLAGS'] += ' -isysroot /Developer/SDKs/MacOSX10.5.sdk'
     1.6  				env['LDFLAGS'] = '-mmacosx-version-min=10.5'
     1.7 +			else:
     1.8 +				env['CFLAGS'] += ' -D_GNU_SOURCE'
     1.9  			curl.AddCommand(command.DirectCommand(argv = args, env = env))
    1.10  			curl.AddCommand(command.ShellCommand('cd lib && make'))
    1.11  	else: