make-rules/shared-macros.mk
changeset 1434 c782e620dd26
parent 1409 9db4ba32e740
child 1482 7a1f84fbc2d7
equal deleted inserted replaced
1433:c111a9dd45a7 1434:c782e620dd26
   625 LD_B_DIRECT =		-Bdirect
   625 LD_B_DIRECT =		-Bdirect
   626 
   626 
   627 # use generic macro names for enabling/disabling ASLR
   627 # use generic macro names for enabling/disabling ASLR
   628 ASLR_ENABLE = 		-z aslr=enable
   628 ASLR_ENABLE = 		-z aslr=enable
   629 ASLR_DISABLE = 		-z aslr=disable
   629 ASLR_DISABLE = 		-z aslr=disable
       
   630 ASLR_NOT_APPLICABLE = 	-z aslr=disable
   630 ASLR_MODE = 		$(ASLR_DISABLE)
   631 ASLR_MODE = 		$(ASLR_DISABLE)
   631 
   632 
   632 # by default, turn off Address Space Layout Randomization for ELF executables;
   633 # by default, turn off Address Space Layout Randomization for ELF executables;
   633 # to explicitly enable ASLR, set ASLR_MODE = $(ASLR_ENABLE)
   634 # to explicitly enable ASLR, set ASLR_MODE = $(ASLR_ENABLE)
   634 # in that component's Makefile
   635 # in that component's Makefile