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
|
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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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@
|
||||||
|
|
Loading…
Reference in New Issue