From 8a111256c6bb2d7431de61f77e8030db840aaa72 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Tue, 16 Aug 2022 12:04:56 +0200 Subject: [PATCH] Compile with -fvisibility=hidden; will be good for separate compilation --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4dc47225d..3945498c2 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ TESTS=quads mt-gcbench # MT_GCBench MT_GCBench2 COLLECTORS=bdw semi whippet parallel-whippet generational-whippet parallel-generational-whippet CC=gcc -CFLAGS=-Wall -O2 -g -fno-strict-aliasing -Wno-unused -DNDEBUG +CFLAGS=-Wall -O2 -g -fno-strict-aliasing -fvisibility=hidden -Wno-unused -DNDEBUG INCLUDES=-I. LDFLAGS=-lpthread COMPILE=$(CC) $(CFLAGS) $(INCLUDES) $(LDFLAGS)