[med-svn] r15144 - trunk/packages/ctn/trunk/debian

Andreas Tille tille at alioth.debian.org
Thu Nov 7 21:11:30 UTC 2013


Author: tille
Date: 2013-11-07 21:11:29 +0000 (Thu, 07 Nov 2013)
New Revision: 15144

Modified:
   trunk/packages/ctn/trunk/debian/rules
Log:
For some strange reason the LITTLE_ENDIAN_ARCHITECTURE define is not propagated to the compiler - force setting it in CFLAGS


Modified: trunk/packages/ctn/trunk/debian/rules
===================================================================
--- trunk/packages/ctn/trunk/debian/rules	2013-11-07 21:10:04 UTC (rev 15143)
+++ trunk/packages/ctn/trunk/debian/rules	2013-11-07 21:11:29 UTC (rev 15144)
@@ -29,7 +29,9 @@
 	mkdir $(CURDIR)/lib
 	mkdir $(CURDIR)/include
 
-	(. debian/debian.mysql.options.env; make CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" install)
+	# (. debian/debian.mysql.options.env; make install)
+	# Remark: when adding CFLAGS and LDFLAGS somehow ARCHITECTURE will not be set - no idea why
+	(. debian/debian.mysql.options.env; make CFLAGS="$(CFLAGS) -D$${ARCHITECTURE}" LDFLAGS="$(LDFLAGS)" install)
 
 override_dh_auto_clean:
 	dh_auto_clean




More information about the debian-med-commit mailing list