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 642eaac commit 1808e54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ cp:
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`
echo "$(echo '#define MDBX_BUILD_FLAGS "-std=gnu11 -fvisibility=hidden -ffast-math"'; cat mdbx.h)" > mdbx.h
1 change: 1 addition & 0 deletions mdbx/mdbx.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define MDBX_BUILD_FLAGS "-std=gnu11 -fvisibility=hidden -ffast-math"
/**
_libmdbx_ (aka MDBX) is an extremely fast, compact, powerful, embeddable,
Expand Down

0 comments on commit 1808e54

Please sign in to comment.