diff --git a/truffle/mx.truffle/suite.py b/truffle/mx.truffle/suite.py index c115349221f9..d17ad38c07d4 100644 --- a/truffle/mx.truffle/suite.py +++ b/truffle/mx.truffle/suite.py @@ -962,19 +962,19 @@ }, "linux" : { "" : { - "cflags" : ["-g", "-Wall", "-Werror", "-D_GNU_SOURCE"], + "cflags" : ["-g", "-Wall", "-Werror", "-D_GNU_SOURCE", "-fvisibility=hidden"], "ldlibs" : ["-ldl"], }, }, "linux-musl" : { "" : { - "cflags" : ["-g", "-Wall", "-Werror"], + "cflags" : ["-g", "-Wall", "-Werror", "-fvisibility=hidden"], "ldlibs" : ["-ldl"], }, }, "" : { "" : { - "cflags" : ["-g", "-Wall", "-Werror"], + "cflags" : ["-g", "-Wall", "-Werror", "-fvisibility=hidden"], "ldlibs" : ["-ldl"], }, },