waifulib: xcompile: fix C++ with host toolchain
This commit is contained in:
parent
fcdd45341c
commit
9ea973dad6
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ class Android:
|
||||||
|
|
||||||
def ldflags(self):
|
def ldflags(self):
|
||||||
ldflags = ['-lgcc', '-no-canonical-prefixes']
|
ldflags = ['-lgcc', '-no-canonical-prefixes']
|
||||||
if self.is_clang():
|
if self.is_clang() or self.is_host():
|
||||||
ldflags += ['-stdlib=libstdc++']
|
ldflags += ['-stdlib=libstdc++']
|
||||||
if self.is_arm():
|
if self.is_arm():
|
||||||
if self.arch == 'armeabi-v7a':
|
if self.arch == 'armeabi-v7a':
|
||||||
|
|
Loading…
Add table
Reference in a new issue