1 m4: do not force -I/usr/include in CPPFLAGS
3 This is so horribly broken for cross-compilation. :-(
5 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
7 --- openvmtools-stable-9.10.0.orig/open-vm-tools/m4/vmtools.m4 2015-06-17 10:03:00.000000000 +0200
8 +++ openvmtools-stable-9.10.0/open-vm-tools/m4/vmtools.m4 2015-06-17 10:03:00.000000000 +0200
10 if test "$os" = freebsd; then
11 CUSTOM_$1_CPPFLAGS="-I/usr/local/include"
13 - CUSTOM_$1_CPPFLAGS="-I/usr/include"
14 + CUSTOM_$1_CPPFLAGS=" "
17 - CUSTOM_$1_CPPFLAGS="${CUSTOM_$1_CPPFLAGS}/$2"
18 + : CUSTOM_$1_CPPFLAGS="${CUSTOM_$1_CPPFLAGS}/$2"