This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Default microperl to no optimisation.
authorNicholas Clark <nick@ccl4.org>
Tue, 22 Mar 2011 16:30:02 +0000 (16:30 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 28 Mar 2011 09:21:48 +0000 (10:21 +0100)
Previously it was -O2, which is potentially a gcc-ism. -Os also has the
potential to be "portability challenged". Whilst -O should work everywhere,
as microperl is intended as a least-assumptions bootstrapping approach, it
seems best to make no assumptions about the compiler's optimiser.

uconfig.h
uconfig.sh

index 04612f3..44ab0b3 100644 (file)
--- a/uconfig.h
+++ b/uconfig.h
 
 /* Generated from:
  * 323778627146f2762cd41f4dd1db6659f59006ec9bcaaf6bcc645d0380dda938 config_h.SH
 
 /* Generated from:
  * 323778627146f2762cd41f4dd1db6659f59006ec9bcaaf6bcc645d0380dda938 config_h.SH
- * 90b7a3f95ddf0116391ca50b622a54eb7f8b4268aebfe9ab052bd22978c94c54 uconfig.sh
+ * e2fe24c48912191bb7514cbd185016bb4cf5fe5e29b5effc78b3885a7f8d07a7 uconfig.sh
  * ex: set ro: */
  * ex: set ro: */
index a4f579e..15757fc 100644 (file)
@@ -665,7 +665,7 @@ nvtype='double'
 o_nonblock='O_NONBLOCK'
 obj_ext='.o'
 old_pthread_create_joinable=''
 o_nonblock='O_NONBLOCK'
 obj_ext='.o'
 old_pthread_create_joinable=''
-optimize='-O2'
+optimize=''
 orderlib='false'
 osname='unknown'
 osvers='unknown'
 orderlib='false'
 osname='unknown'
 osvers='unknown'