iptables: fix the do_install step
authorJohn Bowler <jbowler@nslu2-linux.org>
Wed, 7 Sep 2005 19:13:49 +0000 (19:13 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 7 Sep 2005 19:13:49 +0000 (19:13 +0000)
do_install will re-run the compile on some systems because of make time
stamp problems, so it needs the same environment as do_compile

packages/iptables/iptables_1.3.3.bb

index ab9fecc..4c500ad 100644 (file)
@@ -25,6 +25,7 @@ do_compile () {
 }
 
 do_install () {
+       unset CFLAGS
        oe_runmake BINDIR=${D}${sbindir} LIBDIR=${D}${libdir} MANDIR=${D}${mandir} install NO_SHARED_LIBS=1
 }