Merge "Switch libGLESv1_CM/libGLESv2 to hash-style=both" into mnc-dev
This commit is contained in:
commit
af3a3778c2
@ -86,6 +86,9 @@ LOCAL_CFLAGS += -DLOG_TAG=\"libGLESv1\"
|
|||||||
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
||||||
LOCAL_CFLAGS += -fvisibility=hidden
|
LOCAL_CFLAGS += -fvisibility=hidden
|
||||||
|
|
||||||
|
# TODO: This is to work around b/20093774. Remove after root cause is fixed
|
||||||
|
LOCAL_LDFLAGS_arm += -Wl,--hash-style,both
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
|
|
||||||
@ -111,6 +114,9 @@ LOCAL_CFLAGS += -DLOG_TAG=\"libGLESv2\"
|
|||||||
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
||||||
LOCAL_CFLAGS += -fvisibility=hidden
|
LOCAL_CFLAGS += -fvisibility=hidden
|
||||||
|
|
||||||
|
# TODO: This is to work around b/20093774. Remove after root cause is fixed
|
||||||
|
LOCAL_LDFLAGS_arm += -Wl,--hash-style,both
|
||||||
|
|
||||||
# Symlink libGLESv3.so -> libGLESv2.so
|
# Symlink libGLESv3.so -> libGLESv2.so
|
||||||
# Platform modules should link against libGLESv2.so (-lGLESv2), but NDK apps
|
# Platform modules should link against libGLESv2.so (-lGLESv2), but NDK apps
|
||||||
# will be linked against libGLESv3.so.
|
# will be linked against libGLESv3.so.
|
||||||
|
Loading…
Reference in New Issue
Block a user