Skip to content

Commit

Permalink
waifulib/xcompile: make clang work with original stlport
Browse files Browse the repository at this point in the history
  • Loading branch information
mittorn committed Dec 13, 2023
1 parent 35c7543 commit e43015e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/waifulib/xcompile.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@ def cflags(self, cxx = False):
if cxx and not self.is_clang() and self.toolchain not in ['4.8','4.9']:
cflags += ['-fno-sized-deallocation']

if cxx and (self.is_clang() or self.is_host()):
cflags += [ '-Wno-dynamic-exception-spec', '-fno-rtti' ]

if self.is_clang() or self.is_host():
# stpcpy() isn't available in early Android versions
# disable it here so Clang won't use it
Expand Down

0 comments on commit e43015e

Please sign in to comment.