X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=trunk%2Fimlib2%2Fdebian%2Frules;h=8404411d5f5a307938c9dd12fe979652ece07bcf;hb=0c6456357d145a3c67931a77660ed4f73b3f2531;hp=bba481f5ff50b7cca2160b86ea835dbaf3736b8a;hpb=5d57df2bf737cdd0b94cef0ba3eb757047ce313c;p=maemo-efl diff --git a/trunk/imlib2/debian/rules b/trunk/imlib2/debian/rules index bba481f..8404411 100755 --- a/trunk/imlib2/debian/rules +++ b/trunk/imlib2/debian/rules @@ -2,22 +2,12 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk -include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/maemo-cflags.mk +DEB_CONFIGURE_SCRIPT := ./autogen.sh DEB_CONFIGURE_EXTRA_FLAGS := --disable-mmx \ --disable-amd64 \ --without-gif \ --without-id3 -DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) - -ifneq (,$(findstring armel,$(DEB_BUILD_ARCH))) - CFLAGS += -DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant - ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) - CFLAGS += -mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s - endif - ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) - CFLAGS += -mcpu=arm926ej-s - endif -endif - +CFLAGS += -I/usr/X11R6/include