Changeset 23643

Show
Ignore:
Timestamp:
27.01.2011 16:07:32 (9 years ago)
Author:
sjm84
Message:

SQLite requires -DSQLITE_ENABLE_LOCKING_STYLE=0 in the CFLAGS to compile correctly on powerpc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/packages/configure

    r23356 r23643  
    296296  fi 
    297297 
     298  arch=`uname -p` 
     299 
     300  if test $arch = powerpc ; then 
     301      CFLAGS="-DSQLITE_ENABLE_LOCKING_STYLE=0 $CFLAGS" 
     302  fi 
     303 
    298304  echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT 
    299305