1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Refine the patch again. No functional change.

This commit is contained in:
Jung-uk Kim 2014-04-21 22:54:16 +00:00
parent d18db997f5
commit a8eeed9413
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351730

View File

@ -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