summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-bsp/libacpi/libacpi_0.2.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-bsp/libacpi/libacpi_0.2.bb b/meta/recipes-bsp/libacpi/libacpi_0.2.bb
index 83d7cba71..b18286451 100644
--- a/meta/recipes-bsp/libacpi/libacpi_0.2.bb
+++ b/meta/recipes-bsp/libacpi/libacpi_0.2.bb
@@ -5,7 +5,7 @@ SECTION = "base"
HOMEPAGE = "http://www.ngolde.de/libacpi.html"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fec17f82f16630adf2dfb7d2a46f21c5"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \
file://makefile-fix.patch;patch=1 "
@@ -20,6 +20,8 @@ FILES_${PN}-bin = "${bindir}"
COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)'
+CFLAGS += "-fPIC"
+
do_install() {
oe_runmake install DESTDIR=${D} PREFIX=${exec_prefix}
}