[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2101: lsbrun should be linked with native compiler (bug 3739)

Mats Wichmann mats at linuxfoundation.org
Sun Mar 17 12:54:30 UTC 2013


------------------------------------------------------------
revno: 2101
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: build_env
timestamp: Sun 2013-03-17 06:54:30 -0600
message:
  lsbrun should be linked with native compiler (bug 3739)
modified:
  lsbdev-runner/Makefile
  package/Makefile
-------------- next part --------------
=== modified file 'lsbdev-runner/Makefile'
--- a/lsbdev-runner/Makefile	2013-03-16 21:25:26 +0000
+++ b/lsbdev-runner/Makefile	2013-03-17 12:54:30 +0000
@@ -3,7 +3,11 @@
 
 all: lsbrun
 
-lsbrun: lsbrun.o
+# lsbrun specifially has to be linked with native compiler,
+# so avoid using $(CC) which may be set to lsbcc
+LINK = cc
+lsbrun: 
+	$(LINK) $(LDFLAGS) lsbrun.o -o lsbrun
 
 install: lsbrun
 	install -d $(DESTDIR)/$(INSTALL_ROOT)/$(BINDIR)

=== modified file 'package/Makefile'
--- a/package/Makefile	2013-03-16 22:19:27 +0000
+++ b/package/Makefile	2013-03-17 12:54:30 +0000
@@ -46,7 +46,7 @@
 
 # We define this here instead of directly in the spec file as
 # we need to be able to work out what the produced rpm files will be called
-RPM_PACKAGE_RELEASE=2
+RPM_PACKAGE_RELEASE=3
 
 # Initialize LIB64 to proper value for 64-bit architectures
 export LIB64:=$(shell case `uname -m` in (ppc64 | s390x | x86_64) echo 64 ;; esac)



More information about the lsb-messages mailing list