aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen J. Kiernan <stevek@FreeBSD.org>2026-02-25 05:25:08 +0000
committerKa Ho Ng <khng@FreeBSD.org>2026-02-25 05:29:04 +0000
commitde773bcc2ffb8472f68283985bf4b7b698c57914 (patch)
treee3ce4911bc8fcc79891d615efa045c88ca95ab28
parent48f55a49a1d142c616edbc7ee6745dd6b83393e4 (diff)
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
-rw-r--r--tools/tools/syscall_timing/Makefile3
1 files changed, 2 insertions, 1 deletions
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