The branch main has been updated by khng:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=de773bcc2ffb8472f68283985bf4b7b698c57914

commit de773bcc2ffb8472f68283985bf4b7b698c57914
Author:     Stephen J. Kiernan <[email protected]>
AuthorDate: 2026-02-25 05:25:08 +0000
Commit:     Ka Ho Ng <[email protected]>
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

Reply via email to