perl-native: removed settings clashing with gcc 3 for nylon * Config_heavy.pl and...
authorMartin Dietze <martin@the-little-red-haired-girl.org>
Sat, 23 May 2009 11:29:57 +0000 (13:29 +0200)
committermd <md@freiheit.com>
Wed, 27 May 2009 19:51:01 +0000 (21:51 +0200)
recipes/perl/perl-native_5.8.8.bb

index e3d7384..57e9e1c 100644 (file)
@@ -85,5 +85,11 @@ do_stage_append() {
             install $i ${STAGING_LIBDIR_NATIVE}/perl/${PV}/CORE
         done
 }
+do_stage_append_nylon() {
+        # get rid of definitions not supported by the gcc version we use for nylon...
+        for i in ${STAGING_LIBDIR_NATIVE}/perl/${PV}/Config_heavy.pl ${STAGING_DIR_HOST}/perl/config.sh; do
+                perl -pi -e 's/-Wdeclaration-after-statement //g' ${i}
+        done
+}
 
 PARALLEL_MAKE = ""