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@mvista.com>
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 \
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