OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ed07a4
)
android: build with c++11 on android lollipop
author
Mauro Rossi
<issor.oruam@gmail.com>
Sat, 22 Aug 2015 09:07:34 +0000
(11:07 +0200)
committer
Mauro Rossi
<mauro.rossi@inwind.it>
Fri, 15 Jul 2016 22:04:22 +0000
(
00:04
+0200)
lollipop-x86 needs -std=c++11 (build with libcxx),
while kitkat-x86 cannot use -std=c++11
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Android.common.mk
patch
|
blob
|
history
diff --git
a/Android.common.mk
b/Android.common.mk
index
b866293
..
69e2b0f
100644
(file)
--- a/
Android.common.mk
+++ b/
Android.common.mk
@@
-79,7
+79,7
@@
LOCAL_CFLAGS += \
endif
LOCAL_CPPFLAGS += \
- $(if $(filter true,$(MESA_LOLLIPOP_BUILD)),-
D_USING_LIBCXX
) \
+ $(if $(filter true,$(MESA_LOLLIPOP_BUILD)),-
std=c++11
) \
-Wno-error=non-virtual-dtor \
-Wno-non-virtual-dtor