summaryrefslogtreecommitdiff
path: root/makefiles/Makefile.gcc
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-04-01 20:54:27 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-04-01 20:54:27 +0000
commit7574b41345968b5f7e9ca5875faccb1478ce0555 (patch)
tree35d10a933b58923cc67c7afe6611c0f4d4ec8aec /makefiles/Makefile.gcc
parentfe492d563c0bbae4c833256996b140da24038451 (diff)
downloadbuildsystem-7574b41345968b5f7e9ca5875faccb1478ce0555.tar.gz
buildsystem-7574b41345968b5f7e9ca5875faccb1478ce0555.tar.bz2
Provide _ALIGNED preprocessor definition
svn path=/trunk/tools/buildsystem/; revision=12148
Diffstat (limited to 'makefiles/Makefile.gcc')
-rw-r--r--makefiles/Makefile.gcc3
1 files changed, 3 insertions, 0 deletions
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