lmdb/support-specify-cc.patch
2023-04-17 14:04:37 +08:00

13 lines
705 B
Diff

diff -up openldap-LMDB_0.9.30-d87d682b6db9c04c1bee34e5cadbbcae4e6d9a67/libraries/liblmdb/Makefile.orig2 openldap-LMDB_0.9.30-d87d682b6db9c04c1bee34e5cadbbcae4e6d9a67/libraries/liblmdb/Makefile
--- openldap-LMDB_0.9.30-d87d682b6db9c04c1bee34e5cadbbcae4e6d9a67/libraries/liblmdb/Makefile.orig2 2023-04-17 13:58:34.001243208 +0800
+++ openldap-LMDB_0.9.30-d87d682b6db9c04c1bee34e5cadbbcae4e6d9a67/libraries/liblmdb/Makefile 2023-04-17 14:01:51.153795000 +0800
@@ -18,7 +18,7 @@
# There may be other macros in mdb.c of interest. You should
# read mdb.c before changing any of them.
#
-CC = gcc
+CC ?= gcc
AR = ar
W = -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized
THREADS = -pthread