Changeset 2168 for box/trunk/infrastructure
- Timestamp:
- 28/05/2008 13:03:59 (4 years ago)
- Location:
- box/trunk/infrastructure
- Files:
-
- 2 edited
-
BoxPlatform.pm.in (modified) (1 diff)
-
makebuildenv.pl.in (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/infrastructure/BoxPlatform.pm.in
r2094 r2168 33 33 34 34 # blank extra flags by default 35 $platform_compile_line_extra = '@CPPFLAGS@ @CXXFLAGS@ @CXXFLAGS_STRICT@'; 36 $platform_compile_line_extra =~ s/ -O2//; 37 $platform_link_line_extra = '@LDFLAGS@'; 35 $platform_compile_line_extra = ''; 36 $platform_link_line_extra = ''; 38 37 $platform_lib_files = '@LIBS@'; 39 38 $platform_exe_ext = '@EXEEXT@'; -
box/trunk/infrastructure/makebuildenv.pl.in
r2163 r2168 516 516 my $debug_link_extra = ($target_is_library)?'':'../../debug/lib/debug/debug.a'; 517 517 518 my $default_cxxflags = '@CXXFLAGS@'; 519 my $default_cxxflags =~ s/ -O2//g; 520 518 521 my $release_flags = "-O2"; 519 522 if ($target_windows) … … 533 536 PERL = @PERL@ 534 537 WINDRES = windres 538 539 CXXFLAGS = @CPPFLAGS@ $default_cxxflags @CXXFLAGS_STRICT@ \\ 540 $include_paths $extra_platform_defines \\ 541 -DBOX_VERSION="\\"$product_version\\"" 542 LDFLAGS = @LDFLAGS@ @LDADD_RDYNAMIC@ 543 535 544 .ifdef RELEASE 536 CXXFLAGS = -DNDEBUG $release_flags @CXXFLAGS_STRICT@ $include_paths $extra_platform_defines -DBOX_VERSION="\\"$product_version\\""545 CXXFLAGS += -DNDEBUG $release_flags 537 546 OUTBASE = ../../release 538 547 OUTDIR = ../../release/$mod … … 540 549 VARIENT = RELEASE 541 550 .else 542 CXXFLAGS = -g @CXXFLAGS_STRICT@ $include_paths $extra_platform_defines -DBOX_VERSION="\\"$product_version\\""551 CXXFLAGS += -g 543 552 OUTBASE = ../../debug 544 553 OUTDIR = ../../debug/$mod … … 798 807 799 808 # link line... 800 print MAKE "\t\$(_LINK) $link_line_extra -o $end_target $o_file_list $lib_files$lo $platform_lib_files\n"; 809 print MAKE "\t\$(_LINK) \$(LDFLAGS) $link_line_extra " . 810 "-o $end_target $o_file_list " . 811 "$lib_files$lo $platform_lib_files\n"; 801 812 } 802 813 # tests need to copy the test file over
Note: See TracChangeset
for help on using the changeset viewer.
