8214534: Setting of THIS_FILE in the build is broken
authorsimonis
Tue, 04 Dec 2018 09:28:11 +0100
changeset 52813 767678b5e61b
parent 52812 fc54d27e58d8
child 52814 abccada595dd
8214534: Setting of THIS_FILE in the build is broken Reviewed-by: erikj, ihse
make/common/NativeCompilation.gmk
--- a/make/common/NativeCompilation.gmk	Tue Dec 04 09:08:03 2018 +0100
+++ b/make/common/NativeCompilation.gmk	Tue Dec 04 09:28:11 2018 +0100
@@ -237,7 +237,7 @@
     $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), )