OSDN Git Service

Fix go/ab builds for jb-mr1
authorGreg Hartman <ghartman@google.com>
Fri, 13 Nov 2015 00:38:42 +0000 (16:38 -0800)
committerGreg Hartman <ghartman@google.com>
Fri, 13 Nov 2015 05:27:21 +0000 (05:27 +0000)
commit706cd1e2d416a4dba2173050559773b8ff7b3382
treef3ea27bf31c9bdf4659eab1713d086952fb42d9f
parent135f634e266d355b1a70715d96ffc6dd6fb85726
Fix go/ab builds for jb-mr1

This forces clang to avoid use init_array for all initialization rather than
splitting the initialization between init_array and ctors.

Local builds do this anyway, but for some reason the builds on go/ab do not.
Setting this flag makes the builds consistent (and unbroken on JB-MR1).

I already checked this in on cloud-android-current-release because I wanted
to test it before submitting.

Bug 25597090

Change-Id: I5a7195ba53531835fb8333b698ed39d21ff847a6
(cherry picked from commit 95c7182f118cc686df27c3f49db7d3c7908e0e59)
Reviewed-on: https://swiftshader-review.googlesource.com/4271
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
src/Android.mk
src/LLVM/Android.mk
src/OpenGL/compiler/Android.mk
src/OpenGL/libEGL/Android.mk
src/OpenGL/libGLES_CM/Android.mk
src/OpenGL/libGLESv2/Android.mk