Skip to content

Commit

Permalink
Update AMBuildScript
Browse files Browse the repository at this point in the history
  • Loading branch information
shqke committed May 28, 2024
1 parent fa96ce4 commit 7cab051
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions AMBuildScript
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ class ExtensionConfig(object):
'-Wno-register',
'-fvisibility-inlines-hidden',
]
cxx.linkflags += [
'-static-libstdc++'
]

have_gcc = cxx.family == 'gcc'
have_clang = cxx.family == 'clang'
Expand Down Expand Up @@ -261,10 +264,10 @@ class ExtensionConfig(object):

# Work around SDK warnings.
if cxx.version >= 'clang-10.0' or cxx.version >= 'apple-clang-12.0':
cxx.cflags += [
'-Wno-implicit-int-float-conversion',
'-Wno-tautological-overlap-compare',
]
cxx.cflags += [
'-Wno-implicit-int-float-conversion',
'-Wno-tautological-overlap-compare',
]

if have_gcc:
cxx.cflags += ['-mfpmath=sse']
Expand Down

0 comments on commit 7cab051

Please sign in to comment.