From d6c042d47737dcd7c1c9fcf52b6e7694af6e5565 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Wed, 28 Dec 2011 15:53:35 +0100 Subject: [PATCH] [arm/portage] tweak CFLAGS to fix compilation of dev-libs/pth on ARM --- conf/armv7l/portage/env/dev-libs-pth.conf | 2 ++ conf/armv7l/portage/package.env | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 conf/armv7l/portage/env/dev-libs-pth.conf diff --git a/conf/armv7l/portage/env/dev-libs-pth.conf b/conf/armv7l/portage/env/dev-libs-pth.conf new file mode 100644 index 0000000..0148b25 --- /dev/null +++ b/conf/armv7l/portage/env/dev-libs-pth.conf @@ -0,0 +1,2 @@ +# Fixes compilation +CFLAGS="-DJB_SP=8 -DJB_PC=9" diff --git a/conf/armv7l/portage/package.env b/conf/armv7l/portage/package.env index fd363d8..6b7703f 100644 --- a/conf/armv7l/portage/package.env +++ b/conf/armv7l/portage/package.env @@ -1,2 +1,4 @@ # disable distcc for packages having troubles sys-kernel/beagleboard-sources no-distcc.conf +# fix compilation +dev-libs/pth dev-libs-pth.conf