From 7e0dd59e306966b797524ef48333f09f5804159a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 13 Jun 2012 09:31:26 -0700 Subject: ghostscript-native: Ensure the sys/time/h fix is applied for native builds On my system, the sys/time.h header is in a subdir off /usr/include which causes a build failure. Apply the target CFLAGS fix to native builds as well to address this. (From OE-Core rev: 8968db5fcc99c6580de91f9d6c55478c735ca375) Signed-off-by: Richard Purdie Signed-off-by: Joshua Lock Signed-off-by: Richard Purdie --- meta/recipes-extended/ghostscript/ghostscript_9.02.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta') diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb index 9b21c66956..99c4f5cde8 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb @@ -40,6 +40,7 @@ EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec --without-j # http://bugs.ghostscript.com/show_bug.cgi?id=692443 # http://bugs.ghostscript.com/show_bug.cgi?id=692426 CFLAGS += "-DHAVE_SYS_TIME_H=1" +BUILD_CFLAGS += "-DHAVE_SYS_TIME_H=1" inherit autotools -- cgit v1.2.3-54-g00ecf