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:
parent
d18db997f5
commit
a8eeed9413
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351730
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user