git: de773bcc2ffb - main - Use NO_SHARED instead of explicitly using -static flag
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Feb 2026 05:29:20 UTC
The branch main has been updated by khng:
URL: https://cgit.FreeBSD.org/src/commit/?id=de773bcc2ffb8472f68283985bf4b7b698c57914
commit de773bcc2ffb8472f68283985bf4b7b698c57914
Author: Stephen J. Kiernan <stevek@FreeBSD.org>
AuthorDate: 2026-02-25 05:25:08 +0000
Commit: Ka Ho Ng <khng@FreeBSD.org>
CommitDate: 2026-02-25 05:29:04 +0000
Use NO_SHARED instead of explicitly using -static flag
NO_SHARED is the proper way to declare linking a program without
shared libraries.
Obtained from: Hewlett Packard Enterprise
MFC after: 1 week
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D44761
---
tools/tools/syscall_timing/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/tools/syscall_timing/Makefile b/tools/tools/syscall_timing/Makefile
index e33148eee2e9..2c6a7d8dc371 100644
--- a/tools/tools/syscall_timing/Makefile
+++ b/tools/tools/syscall_timing/Makefile
@@ -2,7 +2,8 @@
#
PROG= syscall_timing
-CFLAGS+= -static -O
+CFLAGS+= -O
+NO_SHARED=
MAN=
#LIBADD= pthread