Skip to content
Browse files

Fix build_detect_platform perms, copy build_config.mk outside leveldb/.

  • Loading branch information...
1 parent 8fedd8f commit 58326749a88c2199e369854aad7d57934bc33f6f @mfp committed
Showing with 5 additions and 2 deletions.
  1. +2 −0 .gitignore
  2. +1 −1 leveldb
  3. +2 −1 src/OMakefile
View
2 .gitignore
@@ -21,3 +21,5 @@ gmon.out
/src/toplevel
/test/benchmark
/test/test
+/src/build_config.mk
+/src/build_config.mk.omc
2 leveldb
@@ -1 +1 @@
-Subproject commit bbb0263070defe02ffee97b35d0dc31d3f6297a3
+Subproject commit cf3fa8edc5eb88adf2214bf8953ed2138c499cc0
View
3 src/OMakefile
@@ -9,8 +9,9 @@ leveldb_stubs.o: leveldb_stubs.cc
LEVELDB_A = $(file ../leveldb/libleveldb.a)
section
- .INCLUDE: ../leveldb/build_config.mk
+ .INCLUDE: build_config.mk
cd(../leveldb/, $(shell sh build_detect_platform build_config.mk ./))
+ cp ../leveldb/build_config.mk .
CXXFLAGS += -I$(absname ../leveldb) -I$(absname ../leveldb/include) $(PLATFORM_CXXFLAGS) -O2 -DNDEBUG

0 comments on commit 5832674

Please sign in to comment.
Something went wrong with that request. Please try again.