Add -fno-builtin when compiling with gcc in relay32/ subdir.
This commit is contained in:
parent
dca5e56b90
commit
a7f5cb5b0e
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
DEFS = @DLLFLAGS@ -D__WINE__
|
||||
DEFS = @DLLFLAGS@ @GCC_NO_BUILTIN@ -D__WINE__
|
||||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ..
|
||||
SRCDIR = @srcdir@
|
||||
|
|
Loading…
Reference in New Issue