summaryrefslogtreecommitdiff
path: root/devel/boost-libs/files/patch-tools_build_src_tools_clang-linux.jam
diff options
context:
space:
mode:
Diffstat (limited to 'devel/boost-libs/files/patch-tools_build_src_tools_clang-linux.jam')
-rw-r--r--devel/boost-libs/files/patch-tools_build_src_tools_clang-linux.jam89
1 files changed, 0 insertions, 89 deletions
diff --git a/devel/boost-libs/files/patch-tools_build_src_tools_clang-linux.jam b/devel/boost-libs/files/patch-tools_build_src_tools_clang-linux.jam
deleted file mode 100644
index 9fd189a6b05c..000000000000
--- a/devel/boost-libs/files/patch-tools_build_src_tools_clang-linux.jam
+++ /dev/null
@@ -1,89 +0,0 @@
---- tools/build/src/tools/clang-linux.jam.orig 2017-11-19 12:12:37 UTC
-+++ tools/build/src/tools/clang-linux.jam
-@@ -32,7 +32,7 @@ generators.override clang-linux.compile.c.pch : pch.
- generators.override clang-linux.compile.c++.pch : pch.default-cpp-pch-generator ;
-
- type.set-generated-target-suffix PCH
-- : <toolset>clang <toolset-clang:platform>linux : pth ;
-+ : <toolset>clang <toolset-clang:platform>linux : pch ;
-
- toolset.inherit-rules clang-linux : gcc ;
- toolset.inherit-flags clang-linux : gcc
-@@ -101,47 +101,47 @@ toolset.flags clang-linux.compile OPTIONS <rtti>off :
- # C and C++ compilation
-
- rule compile.c++ ( targets * : sources * : properties * ) {
-- local pth-file = [ on $(<) return $(PCH_FILE) ] ;
-+ local pch-file = [ on $(<) return $(PCH_FILE) ] ;
-
-- if $(pth-file) {
-- DEPENDS $(<) : $(pth-file) ;
-+ if $(pch-file) {
-+ DEPENDS $(<) : $(pch-file) ;
- clang-linux.compile.c++.with-pch $(targets) : $(sources) ;
- }
- else {
-- clang-linux.compile.c++.without-pth $(targets) : $(sources) ;
-+ clang-linux.compile.c++.without-pch $(targets) : $(sources) ;
- }
- }
-
--actions compile.c++.without-pth {
-+actions compile.c++.without-pch {
- "$(CONFIG_COMMAND)" -c -x c++ $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -o "$(<)" "$(>)"
- }
-
- actions compile.c++.with-pch bind PCH_FILE
- {
-- "$(CONFIG_COMMAND)" -c -x c++ $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -include-pth -Xclang "$(PCH_FILE)" -o "$(<)" "$(>)"
-+ "$(CONFIG_COMMAND)" -c -x c++ $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -include-pch -Xclang "$(PCH_FILE)" -o "$(<)" "$(>)"
- }
-
- rule compile.c ( targets * : sources * : properties * )
- {
-- local pth-file = [ on $(<) return $(PCH_FILE) ] ;
-+ local pch-file = [ on $(<) return $(PCH_FILE) ] ;
-
-- if $(pth-file) {
-- DEPENDS $(<) : $(pth-file) ;
-+ if $(pch-file) {
-+ DEPENDS $(<) : $(pch-file) ;
- clang-linux.compile.c.with-pch $(targets) : $(sources) ;
- }
- else {
-- clang-linux.compile.c.without-pth $(targets) : $(sources) ;
-+ clang-linux.compile.c.without-pch $(targets) : $(sources) ;
- }
- }
-
--actions compile.c.without-pth
-+actions compile.c.without-pch
- {
- "$(CONFIG_COMMAND)" -c -x c $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
- }
-
- actions compile.c.with-pch bind PCH_FILE
- {
-- "$(CONFIG_COMMAND)" -c -x c $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -include-pth -Xclang "$(PCH_FILE)" -c -o "$(<)" "$(>)"
-+ "$(CONFIG_COMMAND)" -c -x c $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -include-pch -Xclang "$(PCH_FILE)" -c -o "$(<)" "$(>)"
- }
-
- ###############################################################################
-@@ -153,7 +153,7 @@ rule compile.c++.pch ( targets * : sources * : propert
- }
-
- actions compile.c++.pch {
-- $(RM) -f "$(<)" && "$(CONFIG_COMMAND)" -c -x c++-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -emit-pth -o "$(<)" "$(>)"
-+ $(RM) -f "$(<)" && "$(CONFIG_COMMAND)" -c -x c++-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -emit-pch -o "$(<)" "$(>)"
- }
-
- rule compile.c.pch ( targets * : sources * : properties * ) {
-@@ -161,7 +161,7 @@ rule compile.c.pch ( targets * : sources * : propertie
-
- actions compile.c.pch
- {
-- $(RM) -f "$(<)" && "$(CONFIG_COMMAND)" -c -x c-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -emit-pth -o "$(<)" "$(>)"
-+ $(RM) -f "$(<)" && "$(CONFIG_COMMAND)" -c -x c-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Xclang -emit-pch -o "$(<)" "$(>)"
- }
-
- ###############################################################################