summaryrefslogtreecommitdiff
path: root/meta/packages/acpid/acpid.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/acpid/acpid.inc')
-rw-r--r--meta/packages/acpid/acpid.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/packages/acpid/acpid.inc b/meta/packages/acpid/acpid.inc
index 6e79915527..8ac523d19a 100644
--- a/meta/packages/acpid/acpid.inc
+++ b/meta/packages/acpid/acpid.inc
@@ -11,8 +11,9 @@ INITSCRIPT_NAME = "acpid"
INITSCRIPT_PARAMS = "defaults"
EXTRA_OEMAKE = ""
+
do_compile () {
- oe_runmake 'CC=${CC}' 'CROSS=${HOST_PREFIX}'
+ oe_runmake 'CC=${CC} -D_GNU_SOURCE' 'CROSS=${HOST_PREFIX}'
}
do_install () {