This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
bump version to 5.17.2
[perl5.git] / hints / rhapsody.sh
index d12afec..6151e78 100644 (file)
@@ -53,9 +53,8 @@ libc='/System/Library/Frameworks/System.framework/System';
 # Optimize.
 optimize='-O3';
 
-# -pipe: makes compilation go faster.
 # -fno-common because common symbols are not allowed in MH_DYLIB
-ccflags="${ccflags} -pipe -fno-common"
+ccflags="${ccflags} -fno-common"
 
 # Unverified whether this is necessary on Rhapsody, but the test shouldn't hurt.
 # At least on Darwin 1.3.x:
@@ -105,8 +104,10 @@ useshrplib='true';
 # vfork works
 usevfork='true';
 
-# malloc works
-usemymalloc='n';
+# our malloc works (but allow users to override)
+case "$usemymalloc" in
+'') usemymalloc='n' ;;
+esac
 
 #
 # The libraries are not threadsafe in Rhapsody