< prev index next >

make/common/NativeCompilation.gmk

Print this page
rev 52721 : 8214534: Setting of THIS_FILE in the build is broken

@@ -235,11 +235,11 @@
     $$($1_BASE)_OBJS_SO_FAR += $$($1_OBJ)
     # This is the definite source file to use for $1_FILENAME.
     $1_SRC_FILE := $$($1_FILE)
 
     ifneq ($$($1_DISABLE_THIS_FILE_DEFINE), true)
-      $1_THIS_FILE = -DTHIS_FILE='"$$(<F)"'
+      $1_THIS_FILE = -DTHIS_FILE='"$$($1_FILENAME)"'
     endif
 
     ifeq ($$($1_OPTIMIZATION), )
       $1_OPT_CFLAGS := $$($$($1_BASE)_OPT_CFLAGS)
       $1_OPT_CXXFLAGS := $$($$($1_BASE)_OPT_CXXFLAGS)
< prev index next >