summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2012-06-25 14:40:37 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2012-06-25 14:40:37 +0000
commit32b3c7143f2b18567590ffe3173202ce62e6fa31 (patch)
tree94b407fbb1725f9aef695ef49ef1c7bc6b3cca45
parentbeb02133ad1e28a703b56c3701fa8f01634a77e0 (diff)
downloadbuildsystem-32b3c7143f2b18567590ffe3173202ce62e6fa31.tar.gz
buildsystem-32b3c7143f2b18567590ffe3173202ce62e6fa31.tar.bz2
clang supports gcc's __attribute__((aligned))
svn path=/trunk/tools/buildsystem/; revision=13986
-rw-r--r--makefiles/Makefile.clang2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefiles/Makefile.clang b/makefiles/Makefile.clang
index 6e8660c..9f14547 100644
--- a/makefiles/Makefile.clang
+++ b/makefiles/Makefile.clang
@@ -26,7 +26,7 @@ LDSHR = -shared -Wl,-soname,$(SONAME)
ARFLG := cru
# Definitions of various attributes
-CFLAGS := $(CFLAGS) -D_ALIGNED=""
+CFLAGS := $(CFLAGS) -D_ALIGNED="__attribute__((aligned))"
###############################################################################
# Mac OS X Universal Binaries