From 01e8bb9990f8f0dd6f79aa8538a82e2c291b3bf7 Mon Sep 17 00:00:00 2001 From: kueller Date: Mon, 27 Apr 2009 08:23:57 +0000 Subject: [PATCH] =?UTF-8?q?cpufreqd=20versucht=20in=20der=20neuen=20versio?= =?UTF-8?q?n=20immer=20gegen=2032=20Bit=20libs=20zu=20linken=20-=20als=206?= =?UTF-8?q?4=20Bit=20binary=20funktioniert=20das=20jedoch=20nicht.=20mitte?= =?UTF-8?q?ls=20LDFLAGS=20und=20einer=20sed=20=C3=A4nderung=20im=20Makefil?= =?UTF-8?q?e=20korrigiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4628 504e572c-2e33-0410-9681-be2bf7408885 --- SysBuild/tools/cpufreqd | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SysBuild/tools/cpufreqd b/SysBuild/tools/cpufreqd index 26a1301..30e4f03 100644 --- a/SysBuild/tools/cpufreqd +++ b/SysBuild/tools/cpufreqd @@ -79,13 +79,18 @@ premk() { mk() { if [ "$MK64BIT" == "true" ]; then ADDOPTIONS="--libdir=/usr/lib64" + LIBDIR=lib64 + else + LIBDIR=lib fi + LDFLAGS="-Wl,-rpath-link,/usr/$LIBDIR" \ CC="gcc $BUILDOPTIONS" \ CXX="g++ $BUILDOPTIONS" \ ./configure --host=$BUILDSYS \ $ADDOPTIONS \ --prefix=/usr \ --sysconfdir=/etc/sysconfig + sed -i -e "s/\/\/usr\/lib/\/usr\/$LIBDIR/" src/Makefile make -j $NUMCPU make -j $NUMCPU DESTDIR=$TMPROOT install }