summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/drm/Makefile.egl
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-02-18 12:38:47 +0800
committerChia-I Wu <[email protected]>2010-02-18 13:07:01 +0800
commit9a939adf7d25f273048d5f92cf9d96d10e664c23 (patch)
treece77df33a6c0815bebc5e79ed9888814453307ea /src/gallium/winsys/drm/Makefile.egl
parentd449627829e1a4a3250a1a723af2f4e3cd5fd194 (diff)
winsys/drm: Do not use --whole-archive in Makefile.egl.
--whole-archive is not portable. Have the drivers reference _eglMain as a poor man's --whole-archive.
Diffstat (limited to 'src/gallium/winsys/drm/Makefile.egl')
-rw-r--r--src/gallium/winsys/drm/Makefile.egl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/winsys/drm/Makefile.egl b/src/gallium/winsys/drm/Makefile.egl
index b1f20385502..8363de6e975 100644
--- a/src/gallium/winsys/drm/Makefile.egl
+++ b/src/gallium/winsys/drm/Makefile.egl
@@ -38,8 +38,7 @@ $(EGL_DISPLAY_LIBS): $(TOP)/$(LIB_DIR)/%.so: %.so
define mklib-egl
$(MKLIB) -o $@ -noprefix -linker '$(CC)' -ldflags '$(LDFLAGS)' \
- $(MKLIB_OPTIONS) $(EGL_DRIVER_OBJECTS) \
- -Wl,--whole-archive $($(1)_ST) -Wl,--no-whole-archive \
+ $(MKLIB_OPTIONS) $(EGL_DRIVER_OBJECTS) $($(1)_ST) \
$(EGL_DRIVER_PIPES) $(GALLIUM_AUXILIARIES) $($(1)_LIBS) $(EGL_DRIVER_LIBS)
endef