Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Copy the values of {C,CXX,F}FLAGS into smpi{cc,cxx,ff,f90}.
[simgrid.git] / src / smpi / smpicc.in
index 790469e..9098f97 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env sh
 
-# Copyright (c) 2007-2018. The SimGrid Team.
+# Copyright (c) 2007-2019. The SimGrid Team.
 # All rights reserved.
 
 # This program is free software; you can redistribute it and/or modify it
@@ -23,7 +23,7 @@ else
     LINKER_UNDEFINED_ERROR="1"
 fi
 
-list_set CFLAGS
+list_set CFLAGS @SMPI_C_FLAGS@
 list_set LINKARGS "-lm"
 if [ "x@WIN32@" = "x1" ]; then
     list_add CFLAGS "-include" "@includedir@/smpi/smpi_main.h"