xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/fbida/files/fix-preprocessor.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1--- a/scripts/jpeg-version.sh
2+++ b/scripts/jpeg-version.sh
3@@ -1,2 +1,2 @@
4 #!/bin/sh
5-echo JPEG_LIB_VERSION | cpp $CFLAGS -include jpeglib.h | tail -1
6+${CPP} -include jpeglib.h -dM -E -x c /dev/null | grep 'define JPEG_LIB_VERSION' | cut -f 3 -d' '
7