Codebase list fwupd / 0ce5318
Use correct dpkg-architecture variable to apply -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE Mario Limonciello 8 years ago
1 changed file(s) with 3 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
00 #!/usr/bin/make -f
11 # -*- makefile -*-
22
3 #GPGME needs this for proper building on i386, armhf, powerpc
4 ifeq "$(DEB_BUILD_ARCH)" "i386"
5 export DEB_CFLAGS_MAINT_APPEND = -D_FILE_OFFSET_BITS=64
3 #GPGME needs this for proper building on 32 bit archs
4 ifeq "$(DEB_HOST_ARCH_BITS)" "32"
5 export DEB_CFLAGS_MAINT_APPEND = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
66 endif
7 ifeq "$(DEB_BUILD_ARCH)" "armhf"
8 export DEB_CFLAGS_MAINT_APPEND = -D_FILE_OFFSET_BITS=64
9 endif
10 ifeq "$(DEB_BUILD_ARCH)" "powerpc"
11 export DEB_CFLAGS_MAINT_APPEND = -D_FILE_OFFSET_BITS=64
12 endif
13
147
158 export COLORHUG="--disable-colorhug"
169 COLORHUG_VERSION=$(shell dpkg-query -W libcolorhug-dev | awk '{ print $$2 }' | sed 's,-.*,,')