mdbx: portability - O# for ld's options.

Change-Id: Iace30da998ab10bb831ce0f59a2b85ef718d123c
This commit is contained in:
Leonid Yuriev 2019-07-14 01:32:09 +03:00
parent 2544a621e7
commit f37a760dda

View File

@ -32,7 +32,7 @@ TESTDB ?= $(shell [ -d /dev/shm ] && echo /dev/shm || echo /tmp)/mdbx-test.db
TESTLOG ?= $(shell [ -d /dev/shm ] && echo /dev/shm || echo /tmp)/mdbx-test.log
# LY: '--no-as-needed,-lrt' for ability to built with modern glibc, but then run with the old
LDFLAGS ?= -Wl,--gc-sections,-z,relro,-O,--no-as-needed,-lrt
LDFLAGS ?= -Wl,--gc-sections,-z,relro,-O1,--no-as-needed,-lrt
EXE_LDFLAGS ?= -pthread -lrt
# LY: just for benchmarking