mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-24 22:20:38 +02:00
winsys/drm: Update Makefile.template.
Mainly to respect LDFLAGS and remove unused target $(LIBNAME_EGL). This is based on the patch by Tomáš Chvátal <scarabeus@gentoo.org>.
This commit is contained in:
parent
f8107a45ce
commit
883b57e66c
1 changed files with 1 additions and 8 deletions
|
|
@ -82,18 +82,11 @@ SHARED_INCLUDES = \
|
|||
default: depend symlinks $(TOP)/$(LIB_DIR)/gallium/$(LIBNAME)
|
||||
|
||||
$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(PIPE_DRIVERS) $(WINOBJ) Makefile $(TOP)/src/mesa/drivers/dri/Makefile.template
|
||||
$(MKLIB) -noprefix -o $@ \
|
||||
$(MKLIB) -o $@ -noprefix -linker '$(CC)' -ldflags '$(LDFLAGS)' \
|
||||
$(OBJECTS) $(PIPE_DRIVERS) \
|
||||
-Wl,--start-group $(MESA_MODULES) -Wl,--end-group \
|
||||
$(WINOBJ) $(DRI_LIB_DEPS) $(DRIVER_EXTRAS)
|
||||
|
||||
$(LIBNAME_EGL): $(WINSYS_OBJECTS) $(LIBS)
|
||||
$(MKLIB) -o $(LIBNAME_EGL) \
|
||||
-linker "$(CC)" \
|
||||
-noprefix \
|
||||
$(OBJECTS) $(MKLIB_OPTIONS) $(WINSYS_OBJECTS) $(PIPE_DRIVERS) $(WINOBJ) $(DRI_LIB_DEPS) \
|
||||
--whole-archive $(LIBS) $(GALLIUM_AUXILIARIES) --no-whole-archive $(DRIVER_EXTRAS)
|
||||
|
||||
$(TOP)/$(LIB_DIR)/gallium:
|
||||
mkdir -p $@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue