add gcc options (-ffreestanding -fno-tree-loop-distribute-patterns)
refs #299
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -2922,6 +2922,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
|
|||||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||||
|
|
||||||
XCC=$CC
|
XCC=$CC
|
||||||
|
CFLAGS="$CFLAGS -ffreestanding -fno-tree-loop-distribute-patterns"
|
||||||
;;
|
;;
|
||||||
builtin-mic)
|
builtin-mic)
|
||||||
ARCH=k1om
|
ARCH=k1om
|
||||||
@@ -3912,6 +3913,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ac_config_headers="$ac_config_headers executer/config.h"
|
ac_config_headers="$ac_config_headers executer/config.h"
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ case $WITH_TARGET in
|
|||||||
ARCH=`uname -m`
|
ARCH=`uname -m`
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
XCC=$CC
|
XCC=$CC
|
||||||
|
CFLAGS="$CFLAGS -ffreestanding -fno-tree-loop-distribute-patterns"
|
||||||
;;
|
;;
|
||||||
builtin-mic)
|
builtin-mic)
|
||||||
ARCH=k1om
|
ARCH=k1om
|
||||||
@@ -286,6 +287,7 @@ AC_SUBST(ETCDIR)
|
|||||||
AC_SUBST(KMODDIR)
|
AC_SUBST(KMODDIR)
|
||||||
AC_SUBST(KERNDIR)
|
AC_SUBST(KERNDIR)
|
||||||
AC_SUBST(MANDIR)
|
AC_SUBST(MANDIR)
|
||||||
|
AC_SUBST(CFLAGS)
|
||||||
AC_SUBST(ENABLE_MCOVERLAYFS)
|
AC_SUBST(ENABLE_MCOVERLAYFS)
|
||||||
|
|
||||||
AC_SUBST(IHK_VERSION)
|
AC_SUBST(IHK_VERSION)
|
||||||
|
|||||||
Reference in New Issue
Block a user