diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-04-01 20:54:27 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-04-01 20:54:27 +0000 |
commit | 7574b41345968b5f7e9ca5875faccb1478ce0555 (patch) | |
tree | 35d10a933b58923cc67c7afe6611c0f4d4ec8aec /makefiles | |
parent | fe492d563c0bbae4c833256996b140da24038451 (diff) | |
download | buildsystem-7574b41345968b5f7e9ca5875faccb1478ce0555.tar.gz buildsystem-7574b41345968b5f7e9ca5875faccb1478ce0555.tar.bz2 |
Provide _ALIGNED preprocessor definition
svn path=/trunk/tools/buildsystem/; revision=12148
Diffstat (limited to 'makefiles')
-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) |