Kaydet (Commit) 4ea84822 authored tarafından Douglas Mencken's avatar Douglas Mencken Kaydeden (comit) Caolán McNamara

OSX: drop -malign-natural flag for non-clang compilers

Change-Id: I8956ccfd71032909c2f164a8f5b5f9586b6eb285
Reviewed-on: https://gerrit.libreoffice.org/10479Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 3ac80237
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment