summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-06-13 14:41:41 -0700
committerEric Anholt <eric@anholt.net>2014-06-13 14:44:54 -0700
commit27298ee31b9979fb058c3908cc631e8dce9ea674 (patch)
treee94c939b3da81b664e3b4515f442f6bf9d9c3d76 /test
parent4a76cb97f80522261929e312b8a93b76c119a022 (diff)
downloadlibepoxy-27298ee31b9979fb058c3908cc631e8dce9ea674.tar.gz
tests: Fix the passing of the "-z now" arg to the linker.
These LDFLAGS go to the compiler, and getting the arg to the linker requires -Wl or -Xlinker. gcc apparently was passing this through anyway, while clang was getting angry.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index b1dcc18..ffb330e 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -179,7 +179,7 @@ glx_static_LDFLAGS = -static
glx_shared_znow_SOURCES = glx_static.c
glx_shared_znow_LDADD = $(DLOPEN_LIBS) $(EPOXY) libglx_common.la $(X11_LIBS)
-glx_shared_znow_LDFLAGS = -z now
+glx_shared_znow_LDFLAGS = -Wl,-z,now
khronos_typedefs_SOURCES = \
khronos_typedefs.c \