summaryrefslogtreecommitdiffstats
path: root/patches/MesaLib-7.8.2/0002-fix-mklib-command-line.patch
blob: a0c4ce761c777c7ed8d7f479fccbcdeb44c17da9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 033a043a48b3dc5e1a0b924e5dd5b78690e84ea1 Mon Sep 17 00:00:00 2001
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Wed, 7 Jul 2010 10:57:40 +0200
Subject: [PATCH 2/4] fix mklib command line

during configure the environment variable MKLIB_OPTIONS can be used to
specify extra options for mklib. This variable is not used everywhere.
This patch fixes this.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 src/gallium/winsys/drm/Makefile.template |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/winsys/drm/Makefile.template b/src/gallium/winsys/drm/Makefile.template
index f4cc0de..74e769c 100644
--- a/src/gallium/winsys/drm/Makefile.template
+++ b/src/gallium/winsys/drm/Makefile.template
@@ -65,7 +65,7 @@ default: depend symlinks $(TOP)/$(LIB_DIR)/gallium/$(LIBNAME)
 
 $(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(PIPE_DRIVERS) Makefile \
 		$(TOP)/src/mesa/drivers/dri/Makefile.template
-	$(MKLIB) -o $@ -noprefix -linker '$(CC)' -ldflags '$(LDFLAGS)' \
+	$(MKLIB) -o $@ $(MKLIB_OPTIONS) -noprefix -linker '$(CC)' -ldflags '$(LDFLAGS)' \
 		$(OBJECTS) $(PIPE_DRIVERS) \
                 -Wl,--start-group $(MESA_MODULES) -Wl,--end-group \
                  $(DRI_LIB_DEPS) $(DRIVER_EXTRAS)
-- 
1.7.1