commit abb580ab3b5c38c0a59ee61220dbada9147bf615
parent d2d1660217ff0a583f1d5736be450ac97a8d8035
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Wed, 6 May 2026 13:14:28 +0200
Merge remote-tracking branch 'origin/master'
Diffstat:
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/doc/man1/scc-cc.man b/doc/man1/scc-cc.man
@@ -251,6 +251,7 @@ compatibility with other compiler driver interfaces:
.BR \-static ,
.BR \-dynamic ,
.BR \-pedantic ,
+.BR \-pipe ,
.BR \-ansi ,
any option beginning with
.BR \-std= ,
diff --git a/scripts/config b/scripts/config
@@ -13,6 +13,7 @@ openbsd)
echo HOST=obsd
echo ARFLAGS="${ARFLAGS:--rv}"
echo NOPIE_LDFLAGS=-no-pie
+ LIBPROFILE=${LIBPROFILE:-scc_clang}
;;
netbsd)
#TODO: send a patch to NetBSD to solve this problem
diff --git a/src/cmd/scc-cc/posix/cc.c b/src/cmd/scc-cc/posix/cc.c
@@ -616,6 +616,7 @@ main(int argc, char *argv[])
!strcmp(arg, "-dynamic") ||
!strcmp(arg, "-pedantic") ||
!strcmp(arg, "-ansi") ||
+ !strcmp(arg, "-pipe") ||
!strncmp(arg, "-std=", 5)) {
continue;
}