am 24cd98ee
: Compile libsurfaceflinger with Clang and -std=c++11 [DO NOT MERGE]
* commit '24cd98eef88ac93f80c327f8d74f0a1ae0aceee4': Compile libsurfaceflinger with Clang and -std=c++11 [DO NOT MERGE]
This commit is contained in:
commit
e38f5fc2b0
@ -1,6 +1,8 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_CLANG := true
|
||||
|
||||
LOCAL_SRC_FILES:= \
|
||||
Client.cpp \
|
||||
DisplayDevice.cpp \
|
||||
@ -81,6 +83,7 @@ else
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS += -fvisibility=hidden
|
||||
LOCAL_CFLAGS += -std=c++11
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils \
|
||||
|
@ -2508,7 +2508,7 @@ bool SurfaceFlinger::startDdmConnection()
|
||||
}
|
||||
void (*DdmConnection_start)(const char* name);
|
||||
DdmConnection_start =
|
||||
(typeof DdmConnection_start)dlsym(libddmconnection_dso, "DdmConnection_start");
|
||||
(decltype(DdmConnection_start))dlsym(libddmconnection_dso, "DdmConnection_start");
|
||||
if (!DdmConnection_start) {
|
||||
dlclose(libddmconnection_dso);
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user