-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added compilation of snappy to compile script
- Loading branch information
arnimarj@gmail.com
committed
Nov 21, 2011
1 parent
ac64ffa
commit ed9cbbd
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
#!/bin/sh | ||
|
||
(cd leveldb-read-only; make OPT='-fPIC -O2 -DNDEBUG') | ||
( | ||
cd snappy-read-only; | ||
./autogen.sh; | ||
./configure --enable-shared=no --enable-static=yes; | ||
make clean; | ||
make CXXFLAGS='-g -O2 -fPIC'; | ||
) | ||
|
||
( | ||
cd leveldb-read-only; | ||
make clean; | ||
make OPT='-fPIC -O2 -DNDEBUG -DSNAPPY -I../snappy-read-only' SNAPPY_CFLAGS='' | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters