Skip to content
Snippets Groups Projects
  • Gary Lin's avatar
    cmake: make "-no-pie" optional · 24eeae24
    Gary Lin authored
    
    The recent linux distros already support PIE so it shouldn't be a
    problem to remove "-no-pie". To avoid issue#782, we make "-no-pie"
    optional and enable it by default. For the distro with PIE luajit,
    just add the following build option:
    
       -DENABLE_NO_PIE=OFF
    
    Then, bcc-lua will be built with PIE support.
    
    Signed-off-by: default avatarGary Lin <glin@suse.com>
    24eeae24