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.
1 parent 43e7123 commit bd950ebCopy full SHA for bd950eb
Makefile
@@ -561,6 +561,11 @@ $(LIBC_TOP_HALF_ALL_OBJS) $(MUSL_PRINTSCAN_LONG_DOUBLE_OBJS) $(MUSL_PRINTSCAN_NO
561
$(LIBWASI_EMULATED_PROCESS_CLOCKS_OBJS): CFLAGS += \
562
-I$(LIBC_BOTTOM_HALF_CLOUDLIBC_SRC)
563
564
+# emmalloc uses a lot of pointer type-punning, which is UB under strict aliasing,
565
+# and this was found to have real miscompilations in wasi-libc#421.
566
+$(EMMALLOC_OBJS): CFLAGS += \
567
+ -fno-strict-aliasing
568
+
569
include_dirs:
570
#
571
# Install the include files.
0 commit comments