aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2014-04-21 21:07:26 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2014-04-21 21:07:26 +0000
commit1f64c6c6fba037f1f2fcdf00198ca0388ed83044 (patch)
tree381ff800f6ea0f4f948b4811a6ef94f1f0652b25 /java
parented5e9e275a170829910561779a936c4cddf209b1 (diff)
Notes
Diffstat (limited to 'java')
-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)