瀏覽代碼

mesa3d: Pass LDFLAGS to the build config file

Closes #559.

Without the LDFLAGS in the build configuration file
building mesa3d fails with an external toolchain on amd64
machines targeting i686.  The error indicats that libX11
can't be found.

This change passes the --sysroot parameter (along with any
others specified by buildroot for LDFLAGS to the mklib script.

Signed-off-by: Clark Rawlins <clark@bit63.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Clark Rawlins 15 年之前
父節點
當前提交
249f3db999
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 2 1
      CHANGES
  2. 1 0
      package/x11r7/mesa3d/mesa3d.mk

+ 2 - 1
CHANGES

@@ -1,10 +1,11 @@
 2010.02, Not yet released:
 2010.02, Not yet released:
 
 
 	Updated/fixed packages: autoconf, bind, binutils, busybox, iw,
 	Updated/fixed packages: autoconf, bind, binutils, busybox, iw,
-	lighttpd, pcre, usbutils
+	lighttpd, mesa, pcre, usbutils
 
 
 	Issues resolved (http://bugs.uclibc.org):
 	Issues resolved (http://bugs.uclibc.org):
 
 
+	#559: mesa3d build fails
 	#749: Bump usbutils package to version 0.86
 	#749: Bump usbutils package to version 0.86
 	#751: Kernel 2.6 snapshot fetch fail
 	#751: Kernel 2.6 snapshot fetch fail
 	#753: Bump lighttpd package to 1.4.25
 	#753: Bump lighttpd package to 1.4.25

+ 1 - 0
package/x11r7/mesa3d/mesa3d.mk

@@ -49,6 +49,7 @@ $(MESA3D_DIR)/.configured: $(MESA3D_DIR)/.extracted
 		echo "X11_INCLUDES = " && \
 		echo "X11_INCLUDES = " && \
 		echo "EXTRA_LIB_PATH = " && \
 		echo "EXTRA_LIB_PATH = " && \
 		echo "PROGRAM_DIRS =" && \
 		echo "PROGRAM_DIRS =" && \
+		echo "LDFLAGS = $(TARGET_LDFLAGS)" && \
 		echo "MKDEP_OPTIONS = -fdepend -Y$(STAGING_DIR)/usr/include -I$(MESA_GCCINCLUDE)" \
 		echo "MKDEP_OPTIONS = -fdepend -Y$(STAGING_DIR)/usr/include -I$(MESA_GCCINCLUDE)" \
 	) >> $(MESA_CONFIG_FILE)
 	) >> $(MESA_CONFIG_FILE)
 	touch $@
 	touch $@