Changes between Version 2 and Version 3 of Ticket #13121, comment 8


Ignore:
Timestamp:
06/21/12 18:07:56 (9 years ago)
Author:
jhpalmieri
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13121, comment 8

    v2 v3  
    55--- a/spkg-install
    66+++ b/spkg-install
    7 @@ -19,8 +19,9 @@ export LIBRARY_PATH="$LIBRARY_PATH""$SAG
     7@@ -17,10 +17,10 @@ die () {
     8 export CPATH="$CPATH""$SAGE_LOCAL"/include
     9 export LIBRARY_PATH="$LIBRARY_PATH""$SAGE_LOCAL"/lib
    810 
    9  export CPPFLAGS="-I$SAGE_LOCAL/include $CPPFLAGS"
     11-export CPPFLAGS="-I$SAGE_LOCAL/include $CPPFLAGS"
     12+export CPPFLAGS="-I$SAGE_LOCAL/include $CPPFLAGS -D_XOPEN_SOURCE=500"
    1013 export LDFLAGS="-L$SAGE_LOCAL/lib $LDFLAGS"
    11 +export CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500"
    1214 
    1315-if [ -n $SAGE64 ]; then
     
    1719         CFLAG64=-m64
    1820}}}
    19 (even better, with a comment explaining why CFLAGS has been changed)
     21(even better, with a comment explaining why CPPFLAGS has been changed)