summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ghostscript
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-25 13:13:30 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-27 10:25:34 +0000
commitc56232f9839188c74734799264027e7616f91981 (patch)
treeb53c1c661f499e856f7532df4eeb70443ca5663d /meta/recipes-extended/ghostscript
parentb06b1b0811bea6ba5ed04f28c06be0f404924cc5 (diff)
downloadpoky-c56232f9839188c74734799264027e7616f91981.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: 67176378266767cd0cca4f8ecafa865907ca4bdd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ghostscript')
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript_9.04.bb1
1 files changed, 1 insertions, 0 deletions
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
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