Is there a way to make the Elven Accuracy feat work with the second benefit of Great Weapon Master?
Elven Accuracy (XGtE, p. 74) says:
Whenever you have advantage on an attack roll using Dexterity, Intelligence, Wisdom, or Charisma, you can reroll one of the dice once.
The second benefit of Great Weapon Master (PHB, p. 167) says:
Before you make a melee attack with a heavy weapon that you are proficient with, you can choose to take a - 5 penalty to the attack roll. If the attack hits, you add +10 to the attack’s damage
Any official material (non-UA) is fine, as are optional rules like feats (obviously) and multiclassing.
What does not work
The Shillelagh cantrip lets you attack using Wisdom, but the Quarterstaff is not heavy.
Champion Fighters could really benefit from an increased crit chance, and melee advantage is very easy to get.