aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-05-28 01:56:13 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-05-28 01:56:13 -0400
commit59c5470adeb99da30dfd9d45a6035ec0936b29f3 (patch)
tree314e509827ba62e579fb4f62526b9953c158545c /Makefile
parent1dd05d2d18f30f1ee921386f50cc1b63f32a09e2 (diff)
Tweak default visibility settings
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4f76894..9d7cdba 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ NAME=bp
CC=cc
PREFIX=/usr/local
SYSCONFDIR=/etc
-CFLAGS=-std=c99 -Werror -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -flto=auto
+CFLAGS=-std=c99 -Werror -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -flto=auto -fvisibility=hidden
CWARN=-Wall -Wextra -Wno-format
# -Wpedantic -Wsign-conversion -Wtype-limits -Wunused-result -Wnull-dereference \
# -Waggregate-return -Walloc-zero -Walloca -Warith-conversion -Wcast-align -Wcast-align=strict \