mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
fbida: Fix build with libjpeg-turbo
Dont hardcode cpp to point to gcc collection, helps compiling with clang Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
Index: fbida-2.13/GNUmakefile
|
||||
===================================================================
|
||||
--- fbida-2.13.orig/GNUmakefile
|
||||
+++ fbida-2.13/GNUmakefile
|
||||
@@ -53,8 +53,7 @@ include $(srcdir)/mk/Autoconf.mk
|
||||
|
||||
ac_jpeg_ver = $(shell \
|
||||
$(call ac_init,for libjpeg version);\
|
||||
- $(call ac_s_cmd,echo JPEG_LIB_VERSION \
|
||||
- | cpp -include jpeglib.h | tail -n 1);\
|
||||
+ $(call ac_s_cmd,cpp -include jpeglib.h -dM -E -x c /dev/null | grep 'define JPEG_LIB_VERSION' | cut -f 3 -d' ');\
|
||||
$(call ac_fini))
|
||||
|
||||
define make-config
|
||||
Reference in New Issue
Block a user