android: make symbols hidden by default
PATCH 1/1 android: make symbols hidden by default
Signed-off-by Lucas De Marchi <[email protected]>
--- Android.common.mk | 1 + 1 file changed, 1 insertion(+)
Android.common.mk +1 -0
@@ -2,6 +2,7 @@ LOCAL_CFLAGS += \ -DMAJOR_IN_SYSMACROS=1 \ -DHAVE_VISIBILITY=1 \ + -fvisibility=hidden \ -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 LOCAL_CFLAGS += \
Signature · 6 lines
2.17.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 1 line · Lucas De Marchi
Signed-off-by Lucas De Marchi <[email protected]>
Reviewed-by Eric Engestrom <[email protected]>
But it'd be good to have a confirmation from Rob that it actually works:
Cc: Rob Herring <[email protected]>
Quoted 19 lines
--- Android.common.mk | 1 + 1 file changed, 1 insertion(+)Android.common.mk +1
-0@@ -2,6 +2,7 @@ LOCAL_CFLAGS += \ -DMAJOR_IN_SYSMACROS=1 \ -DHAVE_VISIBILITY=1 \ + -fvisibility=hidden \ -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 LOCAL_CFLAGS += \Signature · 1 line
2.17.1
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Emil Velikov
Reviewed-byQuoted 9 lines · Eric Engestrom
Quoted 1 line · Lucas De Marchi
Signed-off-by Lucas De Marchi <[email protected]>Reviewed-by Eric Engestrom <[email protected]>But it'd be good to have a confirmation from Rob that it actually works:
Cc: Rob Herring <[email protected]>
Yes it does. Older Androids can use GCC which is new enough. While latest ones exclusively use clang which also has the flag.
Reviewed-by Emil Velikov <[email protected]>
Will push that in a moment.
Emil
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel