The first airline's policies dictate your baggage allowance, provided that you are only doing connections and not stopovers. Once you have a stopover (and have to check-in for subsequent segments), I believe it doesn't matter who your original first carrier was.