summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-13 09:31:26 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-14 11:18:40 +0100
commit7e0dd59e306966b797524ef48333f09f5804159a (patch)
tree49571cb98f7fb8b24a9d20bc35b66bb82b5d3d7e /meta
parentaca161f8a05085370a360930793d58a46982ac2f (diff)
downloadpoky-7e0dd59e306966b797524ef48333f09f5804159a.tar.gz
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 <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript_9.02.bb1
1 files changed, 1 insertions, 0 deletions
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
40# http://bugs.ghostscript.com/show_bug.cgi?id=692443 40# http://bugs.ghostscript.com/show_bug.cgi?id=692443
41# http://bugs.ghostscript.com/show_bug.cgi?id=692426 41# http://bugs.ghostscript.com/show_bug.cgi?id=692426
42CFLAGS += "-DHAVE_SYS_TIME_H=1" 42CFLAGS += "-DHAVE_SYS_TIME_H=1"
43BUILD_CFLAGS += "-DHAVE_SYS_TIME_H=1"
43 44
44inherit autotools 45inherit autotools
45 46