Source: xcb Version: 2.4-4.3 Severity: normal Tags: patch User:helm...@debian.org Usertags: rebootstrap
Hi, xcb fails to cross build from source, because it uses the build architecture compiler. Using "dh_auto_build" instead of "$(MAKE)" can solve this problem. Please consider applying the attached patch. Hieu.
diff -Nru xcb-2.4/debian/rules xcb-2.4/debian/rules --- xcb-2.4/debian/rules 2012-05-11 17:23:09.000000000 +0700 +++ xcb-2.4/debian/rules 2012-05-11 18:25:15.000000000 +0700 @@ -10,7 +10,7 @@ override_dh_auto_build: # CCOPTIONS is used to pass CFLAGS, CPPFLAGS when compiling .c files, # EXTRA_LOAD_FLAGS when linking the program. - $(MAKE) \ + dh_auto_build -- \ CCOPTIONS="$(CFLAGS) $(CPPFLAGS)" \ EXTRA_LOAD_FLAGS="-I. $(CFLAGS) $(LDFLAGS)" cp xcb.man debian/xcb.1
-- This mail was scanned by BitDefender For more information please visit http://www.bitdefender.com