[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203

Stephane Popinet s.popinet at niwa.co.nz
Fri May 15 02:52:20 UTC 2009


The following commit has been merged in the upstream branch:
commit bd8ab9a96c9557224cedcd74b5eef2889b5e4900
Author: Stephane Popinet <s.popinet at niwa.co.nz>
Date:   Thu Jul 14 09:26:18 2005 +1000

    Cosmetics
    
    darcs-hash:20050713232618-fbd8f-66f3c29510307f150af01b539debb2e4e1bab22d.gz

diff --git a/src/utils.c b/src/utils.c
index dd0d77a..a34bcbb 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -240,13 +240,15 @@ static gint compile (GtsFile * fp, GfsFunction * f, const gchar * finname)
   gint foutd, ferrd, ftmpd;
   gchar * cc;
   gint status;
+  gchar cccommand[] = "gcc `pkg-config "
 #if FTT_2D
-  gchar cccommand[] = "gcc `pkg-config gerris2D --cflags --libs` -O -fPIC -shared -x c";
+    "gerris2D"
 #elif FTT_2D3
-  gchar cccommand[] = "gcc `pkg-config gerris2D3 --cflags --libs` -O -fPIC -shared -x c";
+    "gerris2D3"
 #else /* 3D */
-  gchar cccommand[] = "gcc `pkg-config gerris3D --cflags --libs` -O -fPIC -shared -x c";
+    "gerris3D"
 #endif 
+    " --cflags --libs` -O -fPIC -shared -x c";
   
   foutd = mkstemp (foutname);
   ferrd = mkstemp (ferrname);

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list