svn commit: r351730 - head/java/openjdk7/files
Jung-uk Kim
jkim at FreeBSD.org
Mon Apr 21 22:54:16 UTC 2014
Author: jkim
Date: Mon Apr 21 22:54:16 2014
New Revision: 351730
URL: http://svnweb.freebsd.org/changeset/ports/351730
QAT: https://qat.redports.org/buildarchive/r351730/
Log:
Refine the patch again. No functional change.
Modified:
head/java/openjdk7/files/patch-hotspot-make-bsd-makefiles-gcc.make
Modified: head/java/openjdk7/files/patch-hotspot-make-bsd-makefiles-gcc.make
==============================================================================
--- head/java/openjdk7/files/patch-hotspot-make-bsd-makefiles-gcc.make Mon Apr 21 22:37:05 2014 (r351729)
+++ head/java/openjdk7/files/patch-hotspot-make-bsd-makefiles-gcc.make Mon Apr 21 22:54:16 2014 (r351730)
@@ -1,15 +1,14 @@
--- hotspot/make/bsd/makefiles/gcc.make
+++ hotspot/make/bsd/makefiles/gcc.make
-@@ -216,8 +216,12 @@
- endif
+@@ -214,7 +214,11 @@
# Flags for generating make dependency flags.
+ ifneq ("${CC_VER_MAJOR}", "2")
+-DEPFLAGS = -fpch-deps -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d)
+DEPFLAGS =
+ifeq (,$(findstring clang,$(shell $(CC) -v 2>&1)))
+DEPFLAGS += -fpch-deps
+endif
- ifneq ("${CC_VER_MAJOR}", "2")
--DEPFLAGS = -fpch-deps -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d)
+DEPFLAGS += -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d)
endif
More information about the svn-ports-all
mailing list