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.
macos/v1.5.9
Eric Anholt 11 years ago
parent 4a76cb97f8
commit 27298ee31b
  1. 2
      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 \

Loading…
Cancel
Save