Changeset 34003 for branches/eam_branches/ipp-20120601/psconfig/psbuild
- Timestamp:
- Jun 11, 2012, 1:25:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120601/psconfig/psbuild
r31466 r34003 9 9 $optimize = 0; 10 10 $profile = 0; 11 $no_as_needed = 0; 12 $debug_build = 0; 11 13 $developer = 0; 12 14 $magic = 0; … … 72 74 if ($ARGV[0] eq "-profile") { 73 75 $profile = 1; 76 shift; next; 77 } 78 if ($ARGV[0] eq "-no-as-needed") { 79 $no_as_needed = 1; 80 shift; next; 81 } 82 if ($ARGV[0] eq "-debug-build") { 83 $debug_build = 1; 74 84 shift; next; 75 85 } … … 262 272 if ($optimize) { $psopts = "$psopts --enable-optimize"; } 263 273 if ($profile) { $psopts = "$psopts --enable-profile --disable-shared --enable-static"; } 274 if ($debug_build) { $psopts = "$psopts --enable-debug_build"; } 275 if ($no_as_needed) { $psopts = "$psopts --enable-no-as-needed"; } 264 276 $psopts .= " --disable-version" if $offline; 265 277 … … 479 491 print STDERR " : -optimize : set flags for optimized code\n"; 480 492 print STDERR " : -profile : set flags for profiling\n"; 493 print STDERR " : -debug-build : set flags for debug build (Wall, but not Werror; use to find and fix warnings from Wall)\n"; 494 print STDERR " : -no-as-needed : add --no-as-needed flag to gcc (to disable default --as-needed flags from Ubuntu, etc)\n"; 481 495 print STDERR " : -only (module) : only build the specified module\n"; 482 496 print STDERR " : -start (module) : begin build at specified module\n";
Note:
See TracChangeset
for help on using the changeset viewer.
