aboutsummaryrefslogtreecommitdiffstats
path: root/java/openjdk7
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2014-04-22 05:07:26 +0800
committerjkim <jkim@FreeBSD.org>2014-04-22 05:07:26 +0800
commitedc01d7e2eeffd25754351c3b952594d9e2c9b1a (patch)
tree381ff800f6ea0f4f948b4811a6ef94f1f0652b25 /java/openjdk7
parent086e0a7be8abe2cb7998dd9061951c39e7ca9f9a (diff)
downloadfreebsd-ports-gnome-edc01d7e2eeffd25754351c3b952594d9e2c9b1a.tar.gz
freebsd-ports-gnome-edc01d7e2eeffd25754351c3b952594d9e2c9b1a.tar.zst
freebsd-ports-gnome-edc01d7e2eeffd25754351c3b952594d9e2c9b1a.zip
Refine the previous patch. No functional change.
Diffstat (limited to 'java/openjdk7')
-rw-r--r--java/openjdk7/files/patch-hotspot-make-bsd-makefiles-gcc.make5
1 files changed, 3 insertions, 2 deletions
diff --git a/java/openjdk7/files/patch-hotspot-make-bsd-makefiles-gcc.make b/java/openjdk7/files/patch-hotspot-make-bsd-makefiles-gcc.make
index 6e2143ce7601..5dc965406e0d 100644
--- a/java/openjdk7/files/patch-hotspot-make-bsd-makefiles-gcc.make
+++ b/java/openjdk7/files/patch-hotspot-make-bsd-makefiles-gcc.make
@@ -1,11 +1,12 @@
--- hotspot/make/bsd/makefiles/gcc.make
+++ hotspot/make/bsd/makefiles/gcc.make
-@@ -216,8 +216,11 @@
+@@ -216,8 +216,12 @@
endif
# Flags for generating make dependency flags.
++DEPFLAGS =
+ifeq (,$(findstring clang,$(shell $(CC) -v 2>&1)))
-+DEPFLAGS = -fpch-deps
++DEPFLAGS += -fpch-deps
+endif
ifneq ("${CC_VER_MAJOR}", "2")
-DEPFLAGS = -fpch-deps -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d)