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:
Murai Takashi 2016-05-01 10:33:14 +09:00 committed by Jérôme Duval
parent 6d4e35f60e
commit 33bb983188
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ for architectureObject in [ MultiArchSubDirSetup ] {
# we also need to use our BSD compatibility functions # we also need to use our BSD compatibility functions
local defines = _REENTRANT=1 USE_MD5=1 _BSD_SOURCE INET6 ; local defines = _REENTRANT=1 USE_MD5=1 _BSD_SOURCE INET6 ;
defines = [ FDefines $(defines) ] ; defines = [ FDefines $(defines) ] ;
SubDirCcFlags $(defines) -Wno-error=sign-compare ; SubDirCcFlags $(defines) -Wno-sign-compare ;
SubDirC++Flags $(defines) -Wno-error=sign-compare ; SubDirC++Flags $(defines) -Wno-sign-compare ;
} }
MergeObject <netresolv!$(architecture)>netresolv.o : MergeObject <netresolv!$(architecture)>netresolv.o :