1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 06:01:48 +02:00

Clang doesn't know the "-z defs" flag

This commit is contained in:
Eelco Dolstra 2014-01-23 10:49:53 +01:00
parent ca73c0102f
commit 5311b2b250

View file

@ -58,7 +58,7 @@ define build-library =
endif
else
ifneq ($(OS), Darwin)
$(1)_LDFLAGS += -z defs
$(1)_LDFLAGS += -Wl,-z,defs
endif
endif