Set E_LOG_DOMAIN var during compilation phase

This commit is contained in:
Sanel Zukan 2011-10-06 22:19:03 +00:00
parent 7313d248e3
commit f16c76e5b6

View File

@ -29,8 +29,8 @@ rule MakeProgramPrivate
objects = [ FGristFiles $(2:S=$(SUFOBJ)) ] ; objects = [ FGristFiles $(2:S=$(SUFOBJ)) ] ;
# Pick up values if someone set flags outside (via ObjectCcFlags and etc.) # Pick up values if someone set flags outside (via ObjectCcFlags and etc.)
CCFLAGS on $(objects) = [ on $(objects) return $(CCFLAGS) ] $(4) ; CCFLAGS on $(objects) = [ on $(objects) return $(CCFLAGS) ] -DE_LOG_DOMAIN="\\\"$(target)\\\"" $(4) ;
C++FLAGS on $(objects) = [ on $(objects) return $(C++FLAGS) ] $(4) ; C++FLAGS on $(objects) = [ on $(objects) return $(C++FLAGS) ] -DE_LOG_DOMAIN="\\\"$(target)\\\"" $(4) ;
if $(REMOVE_UNUSED_DEPENDENCIES_TRICK) = 1 { if $(REMOVE_UNUSED_DEPENDENCIES_TRICK) = 1 {
# remove unused dependencies in binaries, as U.Drepper prescribed ;-) # remove unused dependencies in binaries, as U.Drepper prescribed ;-)