aboutsummaryrefslogtreecommitdiff
path: root/mk/precompiled-headers.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/precompiled-headers.mk')
-rw-r--r--mk/precompiled-headers.mk21
1 files changed, 0 insertions, 21 deletions
diff --git a/mk/precompiled-headers.mk b/mk/precompiled-headers.mk
deleted file mode 100644
index cdd3daecd..000000000
--- a/mk/precompiled-headers.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-PRECOMPILE_HEADERS ?= 0
-
-print-var-help += \
- echo " PRECOMPILE_HEADERS ($(PRECOMPILE_HEADERS)): Whether to use precompiled headers to speed up the build";
-
-GCH = $(buildprefix)precompiled-headers.h.gch
-
-$(GCH): precompiled-headers.h
- @rm -f $@
- @mkdir -p "$(dir $@)"
- $(trace-gen) $(CXX) -x c++-header -o $@ $< $(GLOBAL_CXXFLAGS) $(GCH_CXXFLAGS)
-
-clean-files += $(GCH)
-
-ifeq ($(PRECOMPILE_HEADERS), 1)
-
- GLOBAL_CXXFLAGS_PCH += -include $(buildprefix)precompiled-headers.h -Winvalid-pch
-
- GLOBAL_ORDER_AFTER += $(GCH)
-
-endif