Is this flirting?

My boyfriend was talking to one of my friends about some of his friends and he was telling my friend about how these 2 other girls are really pretty. Of course my friend told me so I brought it up to him. He doesn't see a problem with it... But he has a problem when other guys compliment me.