summaryrefslogtreecommitdiff
path: root/usr/src/tools/cw
diff options
context:
space:
mode:
authorDan McDonald <danmcd@mnx.io>2022-10-10 17:04:05 -0400
committerDan McDonald <danmcd@mnx.io>2022-10-10 17:04:05 -0400
commite8504f6927701c783e82949a52bcea5a11b4466a (patch)
treead043af8281b117a3106f844325d0f1bb02f3ca0 /usr/src/tools/cw
parent8733bb6571c33535090fb28bcbe9aa273867168a (diff)
parent564d52366b33ac17bebd5b441ac47b668dfcb6cd (diff)
downloadillumos-joyent-e8504f6927701c783e82949a52bcea5a11b4466a.tar.gz
[illumos-gate merge]
commit 564d52366b33ac17bebd5b441ac47b668dfcb6cd 15040 remove support for unused sun studio inline asm commit 6faa6645c7a15dbddad859508e1f766bf1cef639 15012 nightly should fail if tools build failed commit 3c6ef809288edc29a5dd9e0664c095967e7903dc 13313 tools build uses cw from /opt/onbld even if -t flag is specified
Diffstat (limited to 'usr/src/tools/cw')
-rw-r--r--usr/src/tools/cw/cw.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/usr/src/tools/cw/cw.c b/usr/src/tools/cw/cw.c
index 91e014c966..22e086820e 100644
--- a/usr/src/tools/cw/cw.c
+++ b/usr/src/tools/cw/cw.c
@@ -21,12 +21,10 @@
*/
/*
- * Copyright 2018, Richard Lowe.
- */
-/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
+ * Copyright 2018 Richard Lowe.
* Copyright 2019 Joyent, Inc.
*/
@@ -39,7 +37,7 @@
*/
/* If you modify this file, you must increment CW_VERSION */
-#define CW_VERSION "6.1"
+#define CW_VERSION "7.1"
/*
* -# Verbose mode
@@ -666,13 +664,6 @@ do_gcc(cw_ictx_t *ctx)
if (*arg == '-') {
arglen--;
} else {
- /*
- * Discard inline files that gcc doesn't grok
- */
- if (!in_output && arglen > 3 &&
- strcmp(arg + arglen - 3, ".il") == 0)
- continue;
-
if (!in_output && is_source_file(arg))
c_files++;