summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorDouglas Mencken <dougmencken@gmail.com>2014-07-23 00:57:02 -0400
committerCaolán McNamara <caolanm@redhat.com>2014-08-11 15:58:54 +0000
commit4ea84822b1b638a61495af5006041bea8db8a3eb (patch)
tree098fddbbd50aa5b364b404dc975a98f7b90182d6 /solenv
parent3ac80237f310366afef0f7b6c427889d652bd369 (diff)
OSX: drop -malign-natural flag for non-clang compilers
Change-Id: I8956ccfd71032909c2f164a8f5b5f9586b6eb285 Reviewed-on: https://gerrit.libreoffice.org/10479 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/macosx.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk
index 2fbc8d60909d..fa7be036280f 100644
--- a/solenv/gbuild/platform/macosx.mk
+++ b/solenv/gbuild/platform/macosx.mk
@@ -56,12 +56,10 @@ gb_CXXFLAGS := \
-Wno-non-virtual-dtor \
-fno-strict-aliasing \
-fsigned-char \
- $(if $(filter TRUE,$(HAVE_CXX11)),$(CXXFLAGS_CXX11)) \
- $(if $(filter-out TRUE,$(COM_GCC_IS_CLANG)),-malign-natural)
+ $(if $(filter TRUE,$(HAVE_CXX11)),$(CXXFLAGS_CXX11))
#-Wshadow \ break in compiler headers already
#-fsigned-char \ might be removed?
- #-malign-natural \ might be removed?
# Without this I get struct/class clashes for "complex" when compiling
# some source files in vcl, at least with the 10.7 SDK.