Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Dec 21, 2024
1 parent b56d867 commit c4645ba
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,3 @@ tools: clean
cp:
#cd ../libmdbx && make dist
cp -R ./../libmdbx/dist/* ./mdbxdist/
cp mdbxdist/mdbx.h mdbx/
cp mdbxdist/mdbx.c mdbx/
#add 1 line to mdbx.h about build flags which we have in `mdbx.go`
sed -i "" '1{h;s/.*/#endif/;G;}' mdbx/mdbx.h
sed -i "" '1{h;s/.*/#define MDBX_BUILD_FLAGS "-std=gnu11 -fvisibility=hidden -ffast-math"/;G;}' mdbx/mdbx.h
sed -i "" '1{h;s/.*/#ifndef MDBX_BUILD_FLAGS/;G;}' mdbx/mdbx.h

0 comments on commit c4645ba

Please sign in to comment.