We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-D_LIBCPP_ABI_VERSION=2
1 parent edf2711 commit 93677b2Copy full SHA for 93677b2
emcc.py
@@ -878,10 +878,6 @@ def get_cflags(user_args):
878
for a in building.llvm_backend_args():
879
cflags += ['-mllvm', a]
880
881
- # Set the LIBCPP ABI version to at least 2 so that we get nicely aligned string
882
- # data and other nice fixes.
883
- cflags += ['-D_LIBCPP_ABI_VERSION=2']
884
-
885
# Changes to default clang behavior
886
887
# Implicit functions can cause horribly confusing function pointer type errors, see #2175
system/lib/libcxx/include/__config_site
@@ -1 +1,3 @@
1
-// empty
+// Set the LIBCPP ABI version 2 under emscripten so that we get nicely aligned string
2
+// data and other nice fixes.
3
+#define _LIBCPP_ABI_VERSION 2
0 commit comments