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

This commit is contained in:
Marcus Meissner 1999-04-16 08:47:41 +00:00 committed by Alexandre Julliard
parent dca5e56b90
commit a7f5cb5b0e
3 changed files with 17 additions and 1 deletions

8
configure vendored
View File

@ -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
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

View File

@ -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

View File

@ -1,4 +1,4 @@
DEFS = @DLLFLAGS@ -D__WINE__ DEFS = @DLLFLAGS@ @GCC_NO_BUILTIN@ -D__WINE__
TOPSRCDIR = @top_srcdir@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR = .. TOPOBJDIR = ..
SRCDIR = @srcdir@ SRCDIR = @srcdir@