From c4645ba89f38c55a7fc7f829d14a8e1c5dabb299 Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Sat, 21 Dec 2024 17:44:30 +0700 Subject: [PATCH] save --- Makefile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Makefile b/Makefile index e408d16..140eeab 100644 --- a/Makefile +++ b/Makefile @@ -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