Skip to content
Snippets Groups Projects
Commit a7f5cb5b authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard
Browse files

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

parent dca5e56b
No related branches found
No related tags found
No related merge requests found
...@@ -4511,6 +4511,13 @@ EOF ...@@ -4511,6 +4511,13 @@ EOF
fi fi
GCC_NO_BUILTIN=""
if test "$GCC" = "yes"
then
GCC_NO_BUILTIN="-fno-builtin"
fi
MAKE_RULES=Make.rules MAKE_RULES=Make.rules
...@@ -4738,6 +4745,7 @@ s%@C2MAN@%$C2MAN%g ...@@ -4738,6 +4745,7 @@ s%@C2MAN@%$C2MAN%g
s%@XLIB@%$XLIB%g s%@XLIB@%$XLIB%g
s%@DLLFLAGS@%$DLLFLAGS%g s%@DLLFLAGS@%$DLLFLAGS%g
s%@LDSHARED@%$LDSHARED%g s%@LDSHARED@%$LDSHARED%g
s%@GCC_NO_BUILTIN@%$GCC_NO_BUILTIN%g
/@MAKE_RULES@/r $MAKE_RULES /@MAKE_RULES@/r $MAKE_RULES
s%@MAKE_RULES@%%g s%@MAKE_RULES@%%g
......
...@@ -625,6 +625,14 @@ then ...@@ -625,6 +625,14 @@ then
AC_DEFINE(HAVE_MSGHDR_ACCRIGHTS) AC_DEFINE(HAVE_MSGHDR_ACCRIGHTS)
fi 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 **** dnl **** Generate output files ****
MAKE_RULES=Make.rules MAKE_RULES=Make.rules
......
DEFS = @DLLFLAGS@ -D__WINE__ DEFS = @DLLFLAGS@ @GCC_NO_BUILTIN@ -D__WINE__
TOPSRCDIR = @top_srcdir@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR = .. TOPOBJDIR = ..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment