With -Os, it won't inline much, but it will still do some.
-fno-inlines -fno-inline-functions ?
That won't prevent GCC from doing builtins; -fno-builtin is for that.
There is no real reason to do any of this though; GCC's choices are generally sane ones. Jordan's problem was just a silly "forgot to provide a definition of some function" problem, this won't happen too often I hope ;-P
Segher