projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b0ffd5
)
winsys/drm: Update the options of mklib in Makefile.egl_g3d.
author
Chia-I Wu
<olvaffe@gmail.com>
Fri, 22 Jan 2010 08:25:11 +0000
(16:25 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Fri, 22 Jan 2010 08:44:13 +0000
(16:44 +0800)
Pass -linker, -ldflags, and $(MKLIB_OPTIONS) to mklib.
src/gallium/winsys/drm/Makefile.egl_g3d
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/drm/Makefile.egl_g3d
b/src/gallium/winsys/drm/Makefile.egl_g3d
index 3ce27258529f88ab6dd7062c1ba50af5c043d4d5..d8f47396d168404f9b33442f9101bf762059a521 100644
(file)
--- 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