aboutsummaryrefslogtreecommitdiff
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:17:28 +0100
commit8968db5fcc99c6580de91f9d6c55478c735ca375 (patch)
tree95f121e839a004aa94487588b7b2157f562e6607
parentab2a4591c4c3926a960f18fa7e848f5d41255e14 (diff)
downloadopenembedded-core-8968db5fcc99c6580de91f9d6c55478c735ca375.zip
openembedded-core-8968db5fcc99c6580de91f9d6c55478c735ca375.tar.gz
openembedded-core-8968db5fcc99c6580de91f9d6c55478c735ca375.tar.bz2
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 <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 9b21c66..99c4f5c 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