summaryrefslogtreecommitdiff
path: root/infrastructure/BoxPlatform.pm.in
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-05-28 12:03:59 +0000
committerChris Wilson <chris+github@qwirx.com>2008-05-28 12:03:59 +0000
commit5295edbaec1058e3c293723ccfe6c639fdc413ff (patch)
tree137629132d256131cd13cc3a9b7915c6ad120604 /infrastructure/BoxPlatform.pm.in
parentfbf475917f44d32e44a615eb735a62e282b4586b (diff)
Remove redundant copies of flags from make command line.
Place CXXFLAGS and LDFLAGS in Makefiles so that they can be overridden by users who know what they are doing. Add LDADD_RDYNAMIC to LDFLAGS to enable -rdynamic for symbolic stack traces.
Diffstat (limited to 'infrastructure/BoxPlatform.pm.in')
-rw-r--r--infrastructure/BoxPlatform.pm.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/infrastructure/BoxPlatform.pm.in b/infrastructure/BoxPlatform.pm.in
index 9501f8ac..ef2340fb 100644
--- a/infrastructure/BoxPlatform.pm.in
+++ b/infrastructure/BoxPlatform.pm.in
@@ -32,9 +32,8 @@ BEGIN
$build_os ne "SunOS" && $build_os ne 'GNU/kFreeBSD');
# 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_compile_line_extra = '';
+ $platform_link_line_extra = '';
$platform_lib_files = '@LIBS@';
$platform_exe_ext = '@EXEEXT@';