From 67176378266767cd0cca4f8ecafa865907ca4bdd Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 25 Nov 2011 13:13:30 +0000 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. Signed-off-by: Richard Purdie --- meta/recipes-extended/ghostscript/ghostscript_9.04.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.04.bb b/meta/recipes-extended/ghostscript/ghostscript_9.04.bb index d4448109bb..86d5ef2f1a 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_9.04.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_9.04.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