Re: [Mesa-dev] [PATCH] Android: gallium_dri: pass dri.sym to linker

2017-08-22 Thread Emil Velikov
On 21 August 2017 at 20:33, Rob Herring wrote: > Pass the dri.sym version script to the linker. This ensures only > explicitly exported symbols are exported and shrinks the library by up > to 60KB. > > We need to pass "--undefined-version" because the Android build system > sets --no-undefined-ver

[Mesa-dev] [PATCH] Android: gallium_dri: pass dri.sym to linker

2017-08-21 Thread Rob Herring
Pass the dri.sym version script to the linker. This ensures only explicitly exported symbols are exported and shrinks the library by up to 60KB. We need to pass "--undefined-version" because the Android build system sets --no-undefined-version by default and we get an error on __driDriverExtension