[ooo-build-commit] Branch 'ooo/master' - solenv/bin

Jan Holesovsky kendy at kemper.freedesktop.org
Fri Jul 24 17:06:13 PDT 2009


 solenv/bin/mhids.pl |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit d431cfcc996ec6709e427ff7a5e188f0c103a0b6
Author: Oliver Bolte <obo at openoffice.org>
Date:   Fri Jul 24 10:08:14 2009 +0000

    #i10000# patch for HH environment

diff --git a/solenv/bin/mhids.pl b/solenv/bin/mhids.pl
index 6c68b52..7c04943 100644
--- a/solenv/bin/mhids.pl
+++ b/solenv/bin/mhids.pl
@@ -71,9 +71,11 @@ sub cleandie
 sub setcompiler
 {
     my $whichcom = $ENV{COM};
+    my $extra_cflags = $ENV{EXTRA_CFLAGS};
+    $extra_cflags = "" if (!$extra_cflags);
     if ( "$whichcom" eq "GCC" ) {
         $appext = ""; # windows for now
-        $compiler = "gcc -x c";
+        $compiler = "gcc -x c $extra_cflags";
         $outbin_flag = "-o ";
         $outobj_flag = "";
         $objext = ".o";


More information about the ooo-build-commit mailing list