Changeset 19778

Show
Ignore:
Timestamp:
09.06.2009 17:02:19 (10 years ago)
Author:
mdewsnip
Message:

Changes to configuring SQLite to be consistent with the other packages, particularly so it compiles in 32-bit mode.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/common-src/packages/configure

    r19593 r19778  
    158158    gzip -dc sqlite-amalgamation-3.5.9.tar.gz | tar -xf - 
    159159  fi 
    160   cd sqlite-amalgamation-3.5.9 && \ 
    161     ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT 
     160 
     161  echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT 
     162 
     163  cd "$PACKAGES/sqlite/sqlite-amalgamation-3.5.9" && \ 
     164  CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT 
    162165else 
    163166  echo "SQLite support disabled."