Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
libxflaim
libxflaim-arm.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libxflaim-arm.patch of Package libxflaim
Index: Makefile =================================================================== --- Makefile.orig +++ Makefile @@ -467,6 +467,14 @@ ifndef host_native_word_size endif ifndef host_native_word_size + ifneq (,$(findstring arm,$(HOSTTYPE))) + host_processor_family = arm + host_native_word_size = 32 + host_supported_word_sizes = 32 + endif +endif + +ifndef host_native_word_size $(error Unable to determine host word size. $(HOSTTYPE)) endif @@ -1060,7 +1068,9 @@ ifdef unix_target ifeq ($(compiler),g++) ccflags += -Wall -Werror -fPIC ifneq ($(target_processor_family),ia64) - ccflags += -m$(target_word_size) + ifneq ($(HOSTTYPE),arm) + ccflags += -m$(target_word_size) + endif endif endif Index: src/xflaimtk.h =================================================================== --- src/xflaimtk.h.orig +++ src/xflaimtk.h @@ -54,6 +54,7 @@ #undef FLM_GNUC #undef FLM_HAS_ASYNC_IO #undef FLM_HAS_DIRECT_IO + #undef FLM_ARM #if defined( __GNUC__) #define FLM_GNUC @@ -149,6 +150,8 @@ #endif #elif defined( __x86__) || defined( __i386__) || defined( __x86_64__) #define FLM_X86 + #elif defined( __arm__) || defined( __thumb__) + #define FLM_ARM #else #error Platform architecture not supported #endif Index: ftk/src/ftk.h =================================================================== --- ftk/src/ftk.h.orig +++ ftk/src/ftk.h @@ -54,6 +54,7 @@ #undef FLM_GNUC #undef FLM_HAS_ASYNC_IO #undef FLM_HAS_DIRECT_IO + #undef FLM_ARM #if defined( __GNUC__) #define FLM_GNUC @@ -149,6 +150,8 @@ #endif #elif defined( __x86__) || defined( __i386__) || defined( __x86_64__) #define FLM_X86 + #elif defined( __arm__) || defined( __thumb__) + #define FLM_ARM #else #error Platform architecture not supported #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor