[oe-commits] Chris Larson : portmap 6.0: kill -O2 and replace -fpie with -fPIC.

git version control git at git.openembedded.org
Tue Dec 22 09:48:04 UTC 2009


Module: openembedded.git
Branch: martin_jansa/srcpv
Commit: 2ac4f6cdee4924791729ca1b46dff0c007527d34
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2ac4f6cdee4924791729ca1b46dff0c007527d34

Author: Chris Larson <clarson at mvista.com>
Date:   Thu Dec 17 08:51:03 2009 -0700

portmap 6.0: kill -O2 and replace -fpie with -fPIC.

4fe22eed50ce7c45da30b0efc6106b90281ff5f5 changed the CFLAGS bits to match the
makefiles, but bitbake.conf is what controls optimizations--recipes shouldn't
be forcing -O2, and -fpie can cause problems on some archs, and should be a
distro policy decision regardless.

Signed-off-by: Chris Larson <clarson at mvista.com>

---

 recipes/portmap/portmap_6.0.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/portmap/portmap_6.0.bb b/recipes/portmap/portmap_6.0.bb
index 501aa5d..f132295 100644
--- a/recipes/portmap/portmap_6.0.bb
+++ b/recipes/portmap/portmap_6.0.bb
@@ -1,6 +1,6 @@
 require portmap.inc
 
-PR = "r4"
+PR = "r5"
 
 SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \
            file://destdir-no-strip.patch;patch=1 \
@@ -11,7 +11,7 @@ SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.
 S = "${WORKDIR}/${PN}_${PV}/"
 
 CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS"
-CFLAGS += "-O2 -Wall -Wstrict-prototypes -fpie"
+CFLAGS += "-Wall -Wstrict-prototypes -fPIC"
 
 fakeroot do_install() {
     install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d





More information about the Openembedded-commits mailing list