[oe-commits] Khem Raj : vte: Pass _GNU_SOURCE via CFLAGS

git at git.openembedded.org git at git.openembedded.org
Mon Apr 13 21:35:08 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 1aa0346cf2a2104cfc969bfeb4ac58fa923d5fcb
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1aa0346cf2a2104cfc969bfeb4ac58fa923d5fcb

Author: Khem Raj <raj.khem at gmail.com>
Date:   Fri Apr 10 18:20:37 2015 -0700

vte: Pass _GNU_SOURCE via CFLAGS

It uses function extentions like  ptsname_r()
so we need to let build know about it

Change-Id: I5a06d08c56529a6b2cf3adf264656ae03b95c1d4
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-support/vte/vte_0.28.2.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/vte/vte_0.28.2.bb b/meta/recipes-support/vte/vte_0.28.2.bb
index 485187d..9dab390 100644
--- a/meta/recipes-support/vte/vte_0.28.2.bb
+++ b/meta/recipes-support/vte/vte_0.28.2.bb
@@ -6,5 +6,7 @@ PR = "r6"
 
 SRC_URI += "file://obsolete_automake_macros.patch"
 
+CFLAGS += "-D_GNU_SOURCE"
+
 SRC_URI[archive.md5sum] = "f07a4bf943194f94b7f142db8f7f36dc"
 SRC_URI[archive.sha256sum] = "8d04e202b617373dfb47689e5e628febe2c58840b34cccc4af4feb88c48df903"



More information about the Openembedded-commits mailing list