mirror of
https://github.com/libuv/libuv
synced 2025-03-28 21:13:16 +00:00
unix: do not discard environmental LDFLAGS
The build environment may carry additional global LDFLAGS, which are currently being discarded. Debian uses them for distro-wide hardening, see dpkg-buildflags(1). Fix by not overwriting the variable. Signed-off-by: Luca Bruno <lucab@debian.org> PR-URL: https://github.com/libuv/libuv/pull/447 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
parent
fa0fa2fac4
commit
cbc83c6d0c
@ -22,7 +22,7 @@ E=
|
||||
CSTDFLAG=--std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter
|
||||
CFLAGS += -g
|
||||
CPPFLAGS += -I$(SRCDIR)/src
|
||||
LDFLAGS=-lm -pthread
|
||||
LDFLAGS += -lm -pthread
|
||||
|
||||
CPPFLAGS += -D_LARGEFILE_SOURCE
|
||||
CPPFLAGS += -D_FILE_OFFSET_BITS=64
|
||||
|
Loading…
x
Reference in New Issue
Block a user