gpm: fix build
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 7 Jun 2011 12:14:56 +0000 (15:14 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 7 Jun 2011 12:16:01 +0000 (15:16 +0300)
only needed for this old tree of ours, I guess?

recipes/gpm/gpm_1.20.1.bb

index 5b278b7..c6ca707 100644 (file)
@@ -19,6 +19,9 @@ inherit autotools update-rc.d
 INITSCRIPT_NAME = "gpm"
 INITSCRIPT_PARAMS = "defaults"
 
+# needed for some socket deps
+export CPPFLAGS += "-D_GNU_SOURCE"
+
 export LIBS = "-lm"
 
 do_configure_prepend () {