mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-22 13:30:07 +00:00
BII: add -fwrapv compile flag (#197)
This commit is contained in:
parent
293ef33a28
commit
a07cc8ae56
@ -1055,7 +1055,7 @@
|
||||
LIBRARY_SEARCH_PATHS = /usr/local/lib;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.13;
|
||||
ONLY_ACTIVE_ARCH = NO;
|
||||
OTHER_CFLAGS = "";
|
||||
OTHER_CFLAGS = "-fwrapv";
|
||||
OTHER_LDFLAGS = "";
|
||||
"OTHER_LDFLAGS[arch=arm64]" = (
|
||||
"-luae_cpu_arm64",
|
||||
@ -1139,7 +1139,7 @@
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
|
||||
LIBRARY_SEARCH_PATHS = /usr/local/lib;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.13;
|
||||
OTHER_CFLAGS = "";
|
||||
OTHER_CFLAGS = "-fwrapv";
|
||||
OTHER_LDFLAGS = "";
|
||||
"OTHER_LDFLAGS[arch=arm64]" = (
|
||||
"-luae_cpu_arm64",
|
||||
|
@ -1902,6 +1902,9 @@ if [[ "x$HAVE_IPA" = "xyes" ]]; then
|
||||
LDFLAGS="$LDFLAGS -O3 -OPT:Olimit=0 -IPA"
|
||||
fi
|
||||
|
||||
CFLAGS="$CFLAGS -fwrapv"
|
||||
CXXFLAGS="$CXXFLAGS -fwrapv"
|
||||
|
||||
dnl Generate Makefile.
|
||||
AC_SUBST(DEFINES)
|
||||
AC_SUBST(SYSSRCS)
|
||||
|
@ -567,6 +567,9 @@ if [[ "x$HAVE_GCC27" = "xyes" ]]; then
|
||||
CXXFLAGS=`echo $CXXFLAGS | sed -e 's/-g\b//g'`
|
||||
fi
|
||||
|
||||
CFLAGS="$CFLAGS -fwrapv"
|
||||
CXXFLAGS="$CXXFLAGS -fwrapv"
|
||||
|
||||
dnl Generate Makefile.
|
||||
AC_SUBST(DEFINES)
|
||||
AC_SUBST(CPUINCLUDES)
|
||||
|
Loading…
Reference in New Issue
Block a user