diff options
| author | Stephen J. Kiernan <stevek@FreeBSD.org> | 2026-02-25 05:25:08 +0000 |
|---|---|---|
| committer | Ka Ho Ng <khng@FreeBSD.org> | 2026-02-25 05:29:04 +0000 |
| commit | de773bcc2ffb8472f68283985bf4b7b698c57914 (patch) | |
| tree | e3ce4911bc8fcc79891d615efa045c88ca95ab28 | |
| parent | 48f55a49a1d142c616edbc7ee6745dd6b83393e4 (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/Makefile | 3 |
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 |
