Blame view

buildroot/buildroot-2016.08.1/package/openvmtools/0003-dont-force-cppflags.patch 727 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  m4: do not force -I/usr/include in CPPFLAGS
  
  This is so horribly broken for cross-compilation. :-(
  
  Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
  
  --- openvmtools-stable-9.10.0.orig/open-vm-tools/m4/vmtools.m4	2015-06-17 10:03:00.000000000 +0200
  +++ openvmtools-stable-9.10.0/open-vm-tools/m4/vmtools.m4	2015-06-17 10:03:00.000000000 +0200
  @@ -281,10 +281,10 @@
         if test "$os" = freebsd; then
            CUSTOM_$1_CPPFLAGS="-I/usr/local/include"
         else
  -         CUSTOM_$1_CPPFLAGS="-I/usr/include"
  +         CUSTOM_$1_CPPFLAGS=" "
         fi
         if test -n "$2"; then
  -         CUSTOM_$1_CPPFLAGS="${CUSTOM_$1_CPPFLAGS}/$2"
  +         : CUSTOM_$1_CPPFLAGS="${CUSTOM_$1_CPPFLAGS}/$2"
         fi
      fi
   ])