glibc: avoid linking long double math stuff on PPC and M68K
This commit is contained in:
@@ -17,14 +17,23 @@ for architectureObject in [ MultiArchSubDirSetup ] {
|
|||||||
|
|
||||||
UsePrivateHeaders libroot ;
|
UsePrivateHeaders libroot ;
|
||||||
|
|
||||||
MergeObject <$(architecture)>posix_gnu_math.o :
|
local longDoubleObjects ;
|
||||||
cabs.c cabsf.c cabsl.c
|
switch $(architecture) {
|
||||||
carg.c cargf.c cargl.c
|
case ppc : longDoubleObjects = ;
|
||||||
cimag.c cimagf.c cimagl.c
|
case m68k : longDoubleObjects = ;
|
||||||
conj.c conjf.c conjl.c
|
case * : longDoubleObjects = cabsl.c cargl.c cimagl.c conjl.c creall.c k_casinhl.c ;
|
||||||
creal.c crealf.c creall.c
|
}
|
||||||
|
|
||||||
k_casinh.c k_casinhf.c k_casinhl.c
|
MergeObject <$(architecture)>posix_gnu_math.o :
|
||||||
|
cabs.c cabsf.c
|
||||||
|
carg.c cargf.c
|
||||||
|
cimag.c cimagf.c
|
||||||
|
conj.c conjf.c
|
||||||
|
creal.c crealf.c
|
||||||
|
|
||||||
|
k_casinh.c k_casinhf.c
|
||||||
|
|
||||||
|
$(longDoubleObjects)
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user