diff options
-rw-r--r-- | makefiles/Makefile.clang | 3 | ||||
-rw-r--r-- | makefiles/Makefile.gcc | 3 | ||||
-rw-r--r-- | makefiles/Makefile.norcroft | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/makefiles/Makefile.clang b/makefiles/Makefile.clang index 8a1127e..6e8660c 100644 --- a/makefiles/Makefile.clang +++ b/makefiles/Makefile.clang @@ -25,6 +25,9 @@ LDSHR = -shared -Wl,-soname,$(SONAME) ARFLG := cru +# Definitions of various attributes +CFLAGS := $(CFLAGS) -D_ALIGNED="" + ############################################################################### # Mac OS X Universal Binaries ############################################################################### diff --git a/makefiles/Makefile.gcc b/makefiles/Makefile.gcc index 31b528e..abe4f28 100644 --- a/makefiles/Makefile.gcc +++ b/makefiles/Makefile.gcc @@ -24,6 +24,9 @@ LDSHR = -shared -Wl,-soname,$(SONAME) ARFLG := cru +# Definitions for various attributes +CFLAGS := $(CFLAGS) -D_ALIGNED="__attribute__((aligned))" + # Extensions for coverage target ifeq ($(MAKECMDGOALS),coverage) COVCFLAGS ?= -fprofile-arcs -ftest-coverage diff --git a/makefiles/Makefile.norcroft b/makefiles/Makefile.norcroft index 8becc8b..93344f9 100644 --- a/makefiles/Makefile.norcroft +++ b/makefiles/Makefile.norcroft @@ -23,6 +23,9 @@ LDSHR := ARFLG := -c +# Definitions of various attributes +CFLAGS := $(CFLAGS) -D_ALIGNED="" + # Extensions for coverage target ifeq ($(MAKECMDGOALS),coverage) $(error Coverage is not supported with Norcroft) |