Commit 8a27f51 Yongwoo Lee
committed
1 parent 86eea35 commit 8a27f51 Copy full SHA for 8a27f51
File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ ifeq ($(LEDGER_ENABLED),true)
41
41
endif
42
42
endif
43
43
44
- # DB backend and secp256k1 implementation selection
45
- ifeq (,$(filter $(LBM_BUILD_OPTIONS ) , cleveldb rocksdb boltdb badgerdb libsecp256k1 ) )
44
+ # DB backend selection
45
+ ifeq (,$(filter $(LBM_BUILD_OPTIONS ) , cleveldb rocksdb boltdb badgerdb) )
46
46
BUILD_TAGS += goleveldb
47
47
DB_BACKEND = goleveldb
48
48
else
64
64
BUILD_TAGS += boltdb
65
65
DB_BACKEND = boltdb
66
66
endif
67
- ifeq (libsecp256k1,$(findstring libsecp256k1,$(LBM_BUILD_OPTIONS)))
68
- CGO_ENABLED =1
69
- BUILD_TAGS += libsecp256k1
70
- endif
67
+ endif
68
+
69
+ # secp256k1 implementation selection
70
+ ifeq (libsecp256k1,$(findstring libsecp256k1,$(LBM_BUILD_OPTIONS ) ) )
71
+ CGO_ENABLED =1
72
+ BUILD_TAGS += libsecp256k1
71
73
endif
72
74
73
75
build_tags += $(BUILD_TAGS )
You can’t perform that action at this time.
0 commit comments