Found out I forgot something in the makefile (such hardcoding really sucks!): strtold.o: $C/strtold.c - gcc -m$(MODEL) -c $< + clang -m$(MODEL) -c $< But it still fails.