Add -gdwarf-4 and change back to -mEA

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>