File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,9 +74,6 @@ ARCHFLAGS := $(ARCHFLAGS)
7474OPTFLAGS ?= -g -O
7575
7676CFLAGS += -Wall -Wno-unused-function -Wno-write-strings -Wno-sign-compare $(ARCHFLAGS )
77- ifneq ($(findstring arm,$(shell uname -m) ) ,)
78- CFLAGS += -DABC_MEMALIGN=4
79- endif
8077
8178# compile ABC using the C++ compiler and put everything in the namespace $(ABC_NAMESPACE)
8279ifdef ABC_USE_NAMESPACE
Original file line number Diff line number Diff line change 2222
2323ABC_NAMESPACE_IMPL_START
2424
25+ #ifndef ABC_MEMALIGN
26+ # if defined(__arm__ )
27+ # define ABC_MEMALIGN 4
28+ # endif
29+ # if defined(__hppa__ )
30+ # define ABC_MEMALIGN 8
31+ # endif
32+ # if defined(__sparc__ )
33+ # define ABC_MEMALIGN 8
34+ # endif
35+ #endif // !ABC_MEMALIGN
36+
2537
2638////////////////////////////////////////////////////////////////////////
2739/// DECLARATIONS ///
You can’t perform that action at this time.
0 commit comments