Trump's comments followed the Spanish FM's statement that Spain would not allow the US to use joint bases for strikes not authorised by the UN.