summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ebourne <martin@ebourne.me.uk>2006-01-31 11:52:57 +0000
committerMartin Ebourne <martin@ebourne.me.uk>2006-01-31 11:52:57 +0000
commit0777ea64c9cedd85fa9d82717d9d81d68c6c6545 (patch)
treefb0f41f24eba38c7f2c87d36cc7e9648600808c8
parentd0418fb869e5a95022888b44fe67a31f08986d61 (diff)
Filter -O2 out because we do that explicitly later on.
Now debug builds are once again unoptimised.
-rw-r--r--infrastructure/BoxPlatform.pm.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/infrastructure/BoxPlatform.pm.in b/infrastructure/BoxPlatform.pm.in
index d63d1684..10fbe7cd 100644
--- a/infrastructure/BoxPlatform.pm.in
+++ b/infrastructure/BoxPlatform.pm.in
@@ -21,6 +21,7 @@ BEGIN
# blank extra flags by default
$platform_compile_line_extra = '@CPPFLAGS@ @CXXFLAGS@ @CXXFLAGS_STRICT@';
+ $platform_compile_line_extra =~ s/ -O2//;
$platform_link_line_extra = '@LDFLAGS@';
$platform_lib_files = '@LIBS@';
$target_os = '@target_os@';