about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-23T09·49+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-23T09·49+0100
commit5311b2b25084e53ff132df96d66ab06efead0853 (patch)
treea7cd1c9885aa4cc5a65bb1e31af24cbf27c6dd6d
parentca73c0102fc68ece171d7cc062e464b4d418d07c (diff)
Clang doesn't know the "-z defs" flag
-rw-r--r--libraries.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries.mk b/libraries.mk
index 1e0fe49a53ef..90eb125a65d9 100644
--- a/libraries.mk
+++ b/libraries.mk
@@ -58,7 +58,7 @@ define build-library =
       endif
     else
       ifneq ($(OS), Darwin)
-        $(1)_LDFLAGS += -z defs
+        $(1)_LDFLAGS += -Wl,-z,defs
       endif
     endif