8156837: RC resource compilation on windows generates false build failure reports
authorerikj
Fri, 13 May 2016 09:22:47 +0200
changeset 37905 2145d16bd92d
parent 37904 e5a4574c4ca0
child 37906 c2ea5f68c2ff
8156837: RC resource compilation on windows generates false build failure reports Reviewed-by: tbell, prr
jdk/make/launcher/Launcher-java.base.gmk
jdk/make/lib/Awt2dLibraries.gmk
--- a/jdk/make/launcher/Launcher-java.base.gmk	Fri May 13 12:52:29 2016 +0900
+++ b/jdk/make/launcher/Launcher-java.base.gmk	Fri May 13 09:22:47 2016 +0200
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -25,11 +25,11 @@
 
 include LauncherCommon.gmk
 
-JAVA_RC_FLAGS += -i $(JDK_TOPDIR)/src/java.base/windows/native/common
+JAVA_RC_FLAGS += -I $(JDK_TOPDIR)/src/java.base/windows/native/common
 ifdef OPENJDK
-  JAVA_RC_FLAGS += -i "$(JDK_TOPDIR)/src/java.base/windows/native/launcher/icons"
+  JAVA_RC_FLAGS += -I $(JDK_TOPDIR)/src/java.base/windows/native/launcher/icons
 else
-  JAVA_RC_FLAGS += -i "$(JDK_TOPDIR)/src/closed/java.base/windows/native/launcher/icons"
+  JAVA_RC_FLAGS += -I $(JDK_TOPDIR)/src/closed/java.base/windows/native/launcher/icons
 endif
 
 ################################################################################
--- a/jdk/make/lib/Awt2dLibraries.gmk	Fri May 13 12:52:29 2016 +0900
+++ b/jdk/make/lib/Awt2dLibraries.gmk	Fri May 13 09:22:47 2016 +0200
@@ -224,9 +224,9 @@
   endif
 
   ifdef OPENJDK
-    LIBAWT_RC_FLAGS := -i "$(JDK_TOPDIR)/src/java.base/windows/native/launcher/icons"
+    LIBAWT_RC_FLAGS := -I $(JDK_TOPDIR)/src/java.base/windows/native/launcher/icons
   else
-    LIBAWT_RC_FLAGS := -i "$(JDK_TOPDIR)/src/closed/java.base/windows/native/launcher/icons"
+    LIBAWT_RC_FLAGS := -I $(JDK_TOPDIR)/src/closed/java.base/windows/native/launcher/icons
   endif
   LIBAWT_VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/java.desktop/windows/native/libawt/windows/awt.rc
 endif