From 2892455bad3c99d183d731b6a52d3d64dbfe13e3 Mon Sep 17 00:00:00 2001 From: Ting Liu Date: Fri, 25 Jul 2014 18:08:14 +0800 Subject: libhugetlbfs: not build obj32 for all 64b platforms qemux86_64 has the same issue with powerpc64, set BUILDTYPE=NATIVEONLY as default Fix the below build issue for 64bit platforms: | fatal error: gnu/stubs-32.h: No such file or directory | # include | ^ | compilation terminated. | make: *** [obj32/elflink.o] Error 1 Signed-off-by: Ting Liu Signed-off-by: Martin Jansa --- meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meta-oe/recipes-benchmark') diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb index 55d555b5f9..315863db75 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb @@ -28,8 +28,7 @@ LIBARGS = "LIB32=${baselib} LIB64=${baselib}" LIBHUGETLBFS_ARCH = "${TARGET_ARCH}" LIBHUGETLBFS_ARCH_powerpc = "ppc" LIBHUGETLBFS_ARCH_powerpc64 = "ppc64" -EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=2" -EXTRA_OEMAKE_append_powerpc64 = " BUILDTYPE=NATIVEONLY" +EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} BUILDTYPE=NATIVEONLY V=2" PARALLEL_MAKE = "" CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0" -- cgit 1.2.3-korg