View Single Post
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1065
@ketmar: yep, there is, guess how it's called

example debian/rules snippet:

Code:
ifneq (,$(findstring thumb,$(DEB_BUILD_OPTIONS)))
  CFLAGS += -mthumb
endif

BTW, be careful when building for non-thumb, this is enabled by default

EDIT:

Having executable pages shared is enough reason on n900(256MB RAM) for -fPIC
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer


Last edited by freemangordon; 2012-11-15 at 07:26.
 

The Following 4 Users Say Thank You to freemangordon For This Useful Post: