Commit a7f5cb5b authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Add -fno-builtin when compiling with gcc in relay32/ subdir.

parent dca5e56b
......@@ -4511,6 +4511,13 @@ EOF
fi
GCC_NO_BUILTIN=""
if test "$GCC" = "yes"
then
GCC_NO_BUILTIN="-fno-builtin"
fi
MAKE_RULES=Make.rules
......@@ -4738,6 +4745,7 @@ s%@C2MAN@%$C2MAN%g
s%@XLIB@%$XLIB%g
s%@DLLFLAGS@%$DLLFLAGS%g
s%@LDSHARED@%$LDSHARED%g
s%@GCC_NO_BUILTIN@%$GCC_NO_BUILTIN%g
/@MAKE_RULES@/r $MAKE_RULES
s%@MAKE_RULES@%%g
......
......@@ -625,6 +625,14 @@ then
AC_DEFINE(HAVE_MSGHDR_ACCRIGHTS)
fi
dnl $GCC is set by autoconf
GCC_NO_BUILTIN=""
if test "$GCC" = "yes"
then
GCC_NO_BUILTIN="-fno-builtin"
fi
AC_SUBST(GCC_NO_BUILTIN)
dnl **** Generate output files ****
MAKE_RULES=Make.rules
......
DEFS = @DLLFLAGS@ -D__WINE__
DEFS = @DLLFLAGS@ @GCC_NO_BUILTIN@ -D__WINE__
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment