jdk/make/lib/Awt2dLibraries.gmk
changeset 31159 6f5c7d192b2d
parent 31157 25a62bb54efa
child 32408 97230ec16697
--- a/jdk/make/lib/Awt2dLibraries.gmk	Fri May 29 18:32:58 2015 +0300
+++ b/jdk/make/lib/Awt2dLibraries.gmk	Fri May 29 17:29:52 2015 +0100
@@ -491,7 +491,7 @@
     SRC := $(LIBJAVAJPEG_SRC), \
     INCLUDE_FILES := $(BUILD_LIBJAVAJPEG_INCLUDE_FILES), \
     OPTIMIZATION := HIGHEST, \
-    CFLAGS := $(CFLAGS_JDKLIB) $(addprefix -I, $(LIBJAVAJPEG_SRC)) \
+    CFLAGS := $(CFLAGS_JDKLIB) $(BUILD_LIBJAVAJPEG_HEADERS) \
         $(LIBJAVA_HEADER_FLAGS) \
         -I$(SUPPORT_OUTPUTDIR)/headers/java.desktop, \
     DISABLED_WARNINGS_gcc := clobbered parentheses array-bounds, \