- 
    
Bug
 - 
    Resolution: Duplicate
 - 
    
  Not Evaluated                     
     - 
    None
 - 
    5.1.1
 - 
    None
 
Some device files have hard-coded cflags for EGL. For unsupported devices, pkg-config could be used to get required CFLAGS.
I have attached a patch to address the issue.