On Mon, Dec 24, 2012 at 10:38 AM, Charles Davis cdavis5x@gmail.com wrote:
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
I can confirm it works.