Fix FTBFS if PIE is not supported

(cherry picked from commit 47d775518c)
v3.5.13-sru
Slávek Banko 10 years ago
parent 7c79da6333
commit 95cb8347ab

@ -890,8 +890,8 @@ macro( tde_add_executable _arg_target )
# set PIE flags for setuid binaries
if( _setuid )
set_target_properties( ${_target} PROPERTIES COMPILE_FLAGS ${TDE_PIE_CFLAGS} )
set_target_properties( ${_target} PROPERTIES LINK_FLAGS ${TDE_PIE_LDFLAGS} )
set_target_properties( ${_target} PROPERTIES COMPILE_FLAGS "${TDE_PIE_CFLAGS}" )
set_target_properties( ${_target} PROPERTIES LINK_FLAGS "${TDE_PIE_LDFLAGS}" )
endif( _setuid )
# set destination directory

Loading…
Cancel
Save