[mspdebug] Specify LIBDIR to `make` so that files get installed in right place

rspanton rspanton at fedoraproject.org
Tue Nov 8 13:57:49 UTC 2011


commit d477b64cb9ed73facd8f3cfa21c53695a4b5579a
Author: Robert Spanton <rspanton at zepler.net>
Date:   Tue Nov 8 13:56:49 2011 +0000

    Specify LIBDIR to `make` so that files get installed in right place

 mspdebug.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/mspdebug.spec b/mspdebug.spec
index c4811cd..c8dcd9f 100644
--- a/mspdebug.spec
+++ b/mspdebug.spec
@@ -21,11 +21,13 @@ disassembly and reverse engineering.
 
 %build
 # add -DDEBUG_GDB to CFLAGS for gdb debugging output
-make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS"
+make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS" \
+     LIBDIR=%{_libdir}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} INSTALL="install -p"
+make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} INSTALL="install -p" \
+     LIBDIR=%{_libdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT


More information about the scm-commits mailing list