From e62e2b06b35a1bdfa3204f25b774d7ee33b5d6dc Mon Sep 17 00:00:00 2001 From: Steven Luo Date: Fri, 18 Dec 2009 22:28:08 -0800 Subject: [PATCH] Actually use EXTRA_CFLAGS Pass EXTRA_CFLAGS to make. Also, fix a thinko that caused build to fail on armel (use -mcpu, not -march). --- debian/rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index 70bd2b9..014ed5e 100755 --- a/debian/rules +++ b/debian/rules @@ -11,7 +11,7 @@ # Optimize for N8x0 CPUs if building for armel ifeq ($(DEB_HOST_ARCH),armel) - EXTRA_CFLAGS += -march=arm1136jf-s + EXTRA_CFLAGS += -mcpu=arm1136jf-s # Use Thumb for smaller binaries if requested ifneq (,$(filter thumb,$(DEB_BUILD_OPTIONS))) EXTRA_CFLAGS += -mthumb @@ -28,8 +28,8 @@ build: build-stamp build-stamp: configure-stamp dh_testdir - make - make -C config-ui + make EXTRA_CFLAGS="$(EXTRA_CFLAGS)" + make -C config-ui EXTRA_CFLAGS="$(EXTRA_CFLAGS)" touch $@ -- 1.7.9.5