From fe28b7f98fed310e1149735dcb6dfed97960a9bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Sch=C3=B6pflin?= Date: Mon, 13 Feb 2006 12:05:30 +0000 Subject: [PATCH] The compiler is forced to compile the files as C++ (-x cxx) because otherwise it will silently ignore files with no file extension. [SVN r32890] --- v2/tools/tru64.jam | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/v2/tools/tru64.jam b/v2/tools/tru64.jam index 96726d4e4..c6c302ac7 100644 --- a/v2/tools/tru64.jam +++ b/v2/tools/tru64.jam @@ -143,9 +143,12 @@ actions compile.c # Note: DON'T disable warning 1133 -- the compiler is buggy and you # really can't ignore this one! +# +# The compiler is forced to compile the files as C++ (-x cxx) because +# otherwise it will silently ignore files with no file extension. actions compile.c++ { - $(CONFIG_COMMAND) -c -std strict_ansi -nopure_cname -noimplicit_include -timplicit_local -ptr "$(<[1]:D)/cxx_repository" -msg_display_number -msg_disable 186,450,1115 $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -o "$(<)" "$(>)" + $(CONFIG_COMMAND) -x cxx -c -std strict_ansi -nopure_cname -noimplicit_include -timplicit_local -ptr "$(<[1]:D)/cxx_repository" -msg_display_number -msg_disable 186,450,1115 $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -o "$(<)" "$(>)" } # Always create archive from scratch. See the gcc toolet for rationale.