From 0777ea64c9cedd85fa9d82717d9d81d68c6c6545 Mon Sep 17 00:00:00 2001 From: Martin Ebourne Date: Tue, 31 Jan 2006 11:52:57 +0000 Subject: Filter -O2 out because we do that explicitly later on. Now debug builds are once again unoptimised. --- infrastructure/BoxPlatform.pm.in | 1 + 1 file changed, 1 insertion(+) (limited to 'infrastructure') 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@'; -- cgit v1.2.3