diff options
author | Chia-I Wu <[email protected]> | 2010-01-22 16:25:11 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-01-22 16:44:13 +0800 |
commit | 3a4b7d3071c7377d8fbe37a0a2f486b919ff53cb (patch) | |
tree | da9e25bf9b7ec075e6e66e9ff134eae4082b4945 /src | |
parent | 3b0ffd5a36c4626b44eafc43f5eaebb7c758bfbd (diff) |
winsys/drm: Update the options of mklib in Makefile.egl_g3d.
Pass -linker, -ldflags, and $(MKLIB_OPTIONS) to mklib.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/drm/Makefile.egl_g3d | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/Makefile.egl_g3d b/src/gallium/winsys/drm/Makefile.egl_g3d index 3ce27258529..d8f47396d16 100644 --- a/src/gallium/winsys/drm/Makefile.egl_g3d +++ b/src/gallium/winsys/drm/Makefile.egl_g3d @@ -39,7 +39,8 @@ $(EGL_DISPLAY_LIBS): $(LIB_GALLIUM_DIR)/%.so: %.so $(INSTALL) $^ $(LIB_GALLIUM_DIR) define mklib-egl -$(MKLIB) -noprefix -o $@ $(EGL_DRIVER_OBJECTS) \ +$(MKLIB) -o $@ -noprefix -linker '$(CC)' -ldflags '$(LDFLAGS)' \ + $(MKLIB_OPTIONS) $(EGL_DRIVER_OBJECTS) \ -Wl,--whole-archive $($(1)_ST) -Wl,--no-whole-archive \ $(EGL_DRIVER_PIPES) $(GALLIUM_AUXILIARIES) $($(1)_LIBS) $(EGL_DRIVER_LIBS) endef |