You enter the charitable contributions in the federal return even if your federal itemized deductions are less than your standard deduction. They will not be used in the federal return, but will still flow to the state return if applicable.
If you have further questions, be sure to tell us what state you are filing in.