If both have the same thing then it might so happen that some extra libs are needed for both or else it cannot be the case that both having the same configuration and same code differ in size.