Skip to content
  • Oded Gabbay's avatar
    configure.ac: add --enable-profile · 6613042c
    Oded Gabbay authored
    
    
    For profiling mesa's code, especially llvmpipe, PROFILE should be
    defined. Currently, this define can only be generated if mesa is
    built using scons.
    This patch makes it possible to generate this define also when building
    mesa through automake tools.
    
    v2:
    
    - Change --enable-llvmpipe-profile to --enable-profile
    - Add -fno-omit-frame-pointer to CFLAGS and CXXFLAGS when enabling profile
    
    Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
    Reviewed-by: default avatarJose Fonseca <jfonseca@vmware.com>
    6613042c