This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #41595] [PATCH] 5.8.8 Use CFLAGS for all compiler invocations
authorTom Callaway <perlbug-followup@perl.org>
Thu, 22 Feb 2007 19:33:45 +0000 (11:33 -0800)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Fri, 9 Mar 2007 17:46:02 +0000 (17:46 +0000)
From: Tom Callaway (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-28041-1172201625-659.41595-75-0@perl.org>

p4raw-id: //depot/metaconfig@30524

U/perl/dlsrc.U

index dd5c478..998e5af 100644 (file)
@@ -17,8 +17,8 @@
 ?X:      ld -b module_a.o module_b.o -o module.sl
 ?X:
 ?MAKE:usedl ld dlsrc cccdlflags lddlflags ccdlflags: \
-       Getfile Myread test osname sed i_dld d_dlopen Findhdr Setvar \
-       cc ccflags ldflags ls gccversion cat rsrc src run i_stdlib i_unistd
+       Getfile Myread test osname sed i_dld d_dlopen Findhdr Setvar src run \
+       cc ccflags ldflags optimize ls gccversion cat rsrc i_stdlib i_unistd
 ?MAKE: -pick add $@ %<
 ?Y:BOTTOM
 ?S:usedl:
@@ -216,7 +216,7 @@ EOM
                              '') dflt="$dflt +vnocompatwarnings" ;;
                              esac
                              ;;        
-                       linux|irix*|gnu*)       dflt='-shared' ;;
+                       linux|irix*|gnu*)  dflt="-shared $optimize" ;;
                        next)  dflt='none' ;;
                        solaris) dflt='-G' ;;
                        sunos) dflt='-assert nodefinitions' ;;