]> ruderich.org/simon Gitweb - blhc/blhc.git/commitdiff
Use default CFLAGS for CXXFLAGS too.
authorSimon Ruderich <simon@ruderich.org>
Mon, 26 Mar 2012 02:06:13 +0000 (04:06 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 26 Mar 2012 02:06:13 +0000 (04:06 +0200)
bin/blhc

index ad98dc594355431609fa8a91fc83309f5605d7a6..7b196a0ccf93a6d6ea521e5f7650847021852c00 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -172,8 +172,7 @@ my @def_cflags_pie = (
     '-fPIE',
 );
 my @def_cxxflags = (
     '-fPIE',
 );
 my @def_cxxflags = (
-    '-g',
-    '-O(?:2|3)',
+    @def_cflags,
 );
 # @def_cxxflags_* is the same as @def_cflags_*.
 my @def_cppflags = ();
 );
 # @def_cxxflags_* is the same as @def_cflags_*.
 my @def_cppflags = ();