evas (0.9.9.041-maemo.4) unstable; urgency=low
* rules: Include simple-patchsys.mk
+ * rules: use BUILD_DEB_OPTIONS for n770 and n8x0 variants
- -- Eduardo Lima (Etrunko) <eduardo.lima@indt.org.br> Sun, 09 Dec 2007 12:42:30 -0300
+ -- Ed Bartosh <bartosh@gmail.com> Sun, 9 Dec 2007 18:17:10 +0200
evas (0.9.9.041-maemo.3) unstable; urgency=low
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+CFLAGS += -DNDEBUG=1 -fomit-frame-pointer -O2
+
ifneq (,$(findstring armel,$(DEB_BUILD_ARCH)))
- CFLAGS += -DNDEBUG=1 -fomit-frame-pointer -O2 -mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant
-endif
+ 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
+end
+