Bug#639593: libdca-utils: No large file support on x86
    Fabian Greffrath 
    fabian at greffrath.com
       
    Wed Oct  5 12:49:41 UTC 2011
    
    
  
A more elegant fix is to add these build flags conditionally by means 
of getconf, which adds the appropriate flags on i386 but adds nothing 
new on amd64:
$ git diff
diff --git a/debian/rules b/debian/rules
index ad6f467..89a0069 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
  #!/usr/bin/make -f
+CFLAGS  += $(shell getconf LFS_CFLAGS)
+LDFLAGS += $(shell getconf LFS_LDFLAGS)
+
  include /usr/share/cdbs/1/rules/debhelper.mk
  include /usr/share/cdbs/1/class/autotools.mk
Considered reasonable and applied in git now. ;)
  - Fabian
    
    
More information about the pkg-multimedia-maintainers
mailing list