[oe-commits] Richard Purdie : ghostscript-native: Ensure the sys/time/ h fix is applied for native builds

git at git.openembedded.org git at git.openembedded.org
Thu Jun 14 10:17:59 UTC 2012


Module: openembedded-core.git
Branch: 2011-1
Commit: 8968db5fcc99c6580de91f9d6c55478c735ca375
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8968db5fcc99c6580de91f9d6c55478c735ca375

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Wed Jun 13 09:31:26 2012 -0700

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 at linuxfoundation.org>
Signed-off-by: Joshua Lock <josh at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../ghostscript/ghostscript_9.02.bb                |    1 +
 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
 





More information about the Openembedded-commits mailing list