Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change -fpic to -fPIC as the former is not always sufficient
[simgrid.git] / src / smpi / smpicxx.in
index 2630654..2822fdb 100755 (executable)
@@ -20,7 +20,7 @@ list_set CXXFLAGS "-std=gnu++11" @SMPI_CXX_FLAGS@
 list_set LINKARGS
 if [ "@WIN32@" != "1" ]; then
     list_add CXXFLAGS "-include" "@includedir@/smpi/smpi_helpers.h"
-    list_add CXXFLAGS "-fpic"
+    list_add CXXFLAGS "-fPIC"
     if [ "x${SMPI_PRETEND_CC}" = "x" ]; then
        list_add LINKARGS "-shared"
     else