X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=debian%2Frules;h=3f9891e0ab9d746975a959d5a51ad69bb4731e4a;hb=d51dcd2b26da01604c759acf6a6e4b29d79b2da6;hp=3361d69b68bfc5ee15054f59731d10bd503449e5;hpb=5f82ebf3ef21599fde344559eaad8f732ca9b4e1;p=debian%2Fgzip diff --git a/debian/rules b/debian/rules index 3361d69..3f9891e 100755 --- a/debian/rules +++ b/debian/rules @@ -11,8 +11,7 @@ ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) CONFARGS = --host=$(DEB_HOST_GNU_TYPE) endif -buildarch := $(shell dpkg-architecture -qDEB_BUILD_ARCH) -ifeq ($(buildarch),amd64) +ifeq ($(shell dpkg-architecture -qDEB_HOST_ARCH),amd64) CFLAGS=-g -O2 -Wall -DUNALIGNED_OK else CFLAGS=-g -O2 -Wall