[Fuego] [PATCH 15/18] avoid inline function not defined problem
Song Cai
cais.fnst at cn.fujitsu.com
Fri Oct 13 10:07:48 UTC 2017
gcc default standard is now gnu11 after gcc-5.
Different semantics for inline functions is at here [inline function](https://gcc.gnu.org/gcc-5/porting_to.html)
Higher version leads to "inline function not defined" problem.
Signed-off-by: Song Cai <cais.fnst at cn.fujitsu.com>
---
engine/tests/Benchmark.tiobench/fuego_test.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/engine/tests/Benchmark.tiobench/fuego_test.sh b/engine/tests/Benchmark.tiobench/fuego_test.sh
index f916335..452962b 100755
--- a/engine/tests/Benchmark.tiobench/fuego_test.sh
+++ b/engine/tests/Benchmark.tiobench/fuego_test.sh
@@ -2,7 +2,7 @@ tarball=tiobench-0.3.3.tar.gz
function test_build {
patch -N -s -p1 < $TEST_HOME/tiobench-fix-conflicting-types.patch
- make LINK="$CC" CC="$CC" AR="$AR" RANLIB="$RANLIB" CXX="$CXX" CPP="$CPP" CXXCPP="$CXXCPP" CFLAGS+="${CFLAGS}"
+ make LINK="$CC" CC="$CC -std=gnu89" AR="$AR" RANLIB="$RANLIB" CXX="$CXX" CPP="$CPP" CXXCPP="$CXXCPP" CFLAGS+="${CFLAGS}"
}
function test_deploy {
--
2.9.3.windows.3
More information about the Fuego
mailing list