Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Fix smpicc.in for call-location tracing.
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Thu, 26 May 2016 18:57:54 +0000 (20:57 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Fri, 27 May 2016 12:52:46 +0000 (14:52 +0200)
I had to add the compile switch to CMDARGS, not CMDLINE...

src/smpi/smpicc.in

index d664bbf..33b1391 100755 (executable)
@@ -52,7 +52,7 @@ while [ $# -gt 0 ]; do
             exit 0
             ;;
         '-trace-call-location')
-            list_add_not_empty CMDLINE "-DTRACE_CALL_LOCATION"
+            list_add_not_empty CMDARGS "-DTRACE_CALL_LOCATION"
             ;;
         '-compiler-version' | '--compiler-version')
             ${CC} --version