Integrate parts of meta-intel-iot-security
[AGL/meta-agl.git] / meta-security / recipes-security / keyutils / keyutils / keyutils_fix_x86_cflags.patch
1 Index: git/Makefile
2 ===================================================================
3 --- git.orig/Makefile   2012-11-16 15:40:05.258723425 +0200
4 +++ git/Makefile        2012-11-16 15:41:08.978725491 +0200
5 @@ -53,7 +53,7 @@
6  ###############################################################################
7  LIBDIR         := $(shell ldd /usr/bin/make | grep '\(/libc\)' | sed -e 's!.*\(/.*\)/libc[.].*!\1!')
8  USRLIBDIR      := $(patsubst /lib/%,/usr/lib/%,$(LIBDIR))
9 -BUILDFOR       := $(shell file /usr/bin/make | sed -e 's!.*ELF \(32\|64\)-bit.*!\1!')-bit
10 +BUILDFOR       := 32-bit
11  
12  LNS            := ln -sf
13