netresolv: Fix gcc2 build
Change suppress warnings options to -Wno-sign-compare since -Wno-error= can be used with gcc 4.2 or later. Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
parent
6d4e35f60e
commit
33bb983188
@ -24,8 +24,8 @@ for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
# we also need to use our BSD compatibility functions
|
||||
local defines = _REENTRANT=1 USE_MD5=1 _BSD_SOURCE INET6 ;
|
||||
defines = [ FDefines $(defines) ] ;
|
||||
SubDirCcFlags $(defines) -Wno-error=sign-compare ;
|
||||
SubDirC++Flags $(defines) -Wno-error=sign-compare ;
|
||||
SubDirCcFlags $(defines) -Wno-sign-compare ;
|
||||
SubDirC++Flags $(defines) -Wno-sign-compare ;
|
||||
}
|
||||
|
||||
MergeObject <netresolv!$(architecture)>netresolv.o :
|
||||
|
Loading…
Reference in New Issue
Block a user