Parcourir la source

winsys/drm: Update the options of mklib in Makefile.egl_g3d.

Pass -linker, -ldflags, and $(MKLIB_OPTIONS) to mklib.
tags/7.8-rc1
Chia-I Wu il y a 16 ans
Parent
révision
3a4b7d3071
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2
    1
      src/gallium/winsys/drm/Makefile.egl_g3d

+ 2
- 1
src/gallium/winsys/drm/Makefile.egl_g3d Voir le fichier

@@ -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

Chargement…
Annuler
Enregistrer