[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#109268: ccmalloc build failure



The following patch fixes the problem.  NMU to happen soon.

lamont
diff -ur y/ccmalloc-0.2.3/debian/rules ccmalloc-0.2.3/debian/rules
--- y/ccmalloc-0.2.3/debian/rules	Sun Aug 19 17:14:49 2001
+++ ccmalloc-0.2.3/debian/rules	Sun Aug 19 16:54:36 2001
@@ -9,12 +9,19 @@
 # Rather paranoid than sorry.
 SHELL+= -e
 
+LIBC61_ARCHS=alpha ia64
+ifeq ($(strip $(filter $(LIBC61_ARCHS),$(DEB_BUILD_ARCH))),)
+  CFLAGS=-O2 -g -Wall -DLIBCIMAGE=\"libc.so.6\"
+else
+  CFLAGS=-O2 -g -Wall -DLIBCIMAGE=\"libc.so.6.1\"
+endif
+
 build: build-stamp
 build-stamp:
 	dh_testdir
 
 	# Add here commands to compile the package.
-	make CFLAGS='-O2 -g -Wall -DLIBCIMAGE=\"libc.so.6\"' all test
+	make CFLAGS='$(CFLAGS)' all test
 
 	touch build-stamp
 



Reply to: