add gcc options (-ffreestanding -fno-tree-loop-distribute-patterns)

refs #299
This commit is contained in:
Yoichi Umezawa
2016-11-29 16:28:18 +09:00
parent bbb55ef261
commit db169c5f90
2 changed files with 4 additions and 0 deletions

View File

@@ -70,6 +70,7 @@ case $WITH_TARGET in
ARCH=`uname -m`
AC_PROG_CC
XCC=$CC
CFLAGS="$CFLAGS -ffreestanding -fno-tree-loop-distribute-patterns"
;;
builtin-mic)
ARCH=k1om
@@ -286,6 +287,7 @@ AC_SUBST(ETCDIR)
AC_SUBST(KMODDIR)
AC_SUBST(KERNDIR)
AC_SUBST(MANDIR)
AC_SUBST(CFLAGS)
AC_SUBST(ENABLE_MCOVERLAYFS)
AC_SUBST(IHK_VERSION)