[PATCH] loader: Build with -fno-builtin.

Charles Davis cdavis5x at gmail.com
Mon Dec 24 10:38:06 CST 2012


This prevents Clang from optimizing wld_memset() into a memset(3) call.
---
 loader/Makefile.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/loader/Makefile.in b/loader/Makefile.in
index 41d69c7..ece07c3 100644
--- a/loader/Makefile.in
+++ b/loader/Makefile.in
@@ -1,4 +1,5 @@
 DEFS      = -D__WINESRC__ $(EXTRADEFS)
+MODCFLAGS = -fno-builtin
 
 C_SRCS = \
 	main.c \
-- 
1.7.12.4




More information about the wine-patches mailing list