DilOS: add compiler visibility

Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit 277646d8ab)
r14.0.x
Denis Kozadaev 5 years ago committed by Michele Calgaro
parent ce9614515f
commit 7ffca6e7f7
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -16,7 +16,7 @@ QMAKE_YACCFLAGS = -d
QMAKE_YACCFLAGS_MANGLE = -p $base -b $base
QMAKE_YACC_HEADER = $base.tab.h
QMAKE_YACC_SOURCE = $base.tab.c
QMAKE_CFLAGS = -pipe -D__dilos__ -D__EXTENSIONS__
QMAKE_CFLAGS = -pipe -D__dilos__ -D__EXTENSIONS__ -fvisibility=hidden -fvisibility-inlines-hidden
QMAKE_CFLAGS_DEPS = -M
QMAKE_CFLAGS_WARN_ON = -Wall -W
QMAKE_CFLAGS_WARN_OFF = -w

Loading…
Cancel
Save