summaryrefslogtreecommitdiff
path: root/external/libexttextcat
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-05-12 17:05:43 +0200
committerMichael Stahl <mstahl@redhat.com>2015-05-12 15:12:49 +0000
commitce30343fcbee32d002181bf69dd3e935e4072193 (patch)
tree5fc592ec463f0a9b044c2350f29020625a564984 /external/libexttextcat
parentc326b9daaa58e2177c0a48fc03a34e7830997fab (diff)
exttextcat: suppress -Qunused-arguments warning for Apple clang
Change-Id: I857ea5f37452e2b1242fc35e569191adfc5f90be Reviewed-on: https://gerrit.libreoffice.org/15719 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'external/libexttextcat')
-rw-r--r--external/libexttextcat/ExternalProject_exttextcat.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/external/libexttextcat/ExternalProject_exttextcat.mk b/external/libexttextcat/ExternalProject_exttextcat.mk
index 89bd169f521c..fdad93b77677 100644
--- a/external/libexttextcat/ExternalProject_exttextcat.mk
+++ b/external/libexttextcat/ExternalProject_exttextcat.mk
@@ -18,7 +18,8 @@ $(call gb_ExternalProject_get_state_target,exttextcat,build):
./configure --disable-shared --with-pic \
$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
CFLAGS="$(CFLAGS) $(gb_VISIBILITY_FLAGS) $(gb_DEBUG_CFLAGS) $(gb_COMPILEROPTFLAGS) \
- $(if $(filter AIX,$(OS)),-D_LINUX_SOURCE_COMPAT)" \
+ $(if $(COM_GCC_IS_CLANG),-Qunused-arguments) \
+ $(if $(filter AIX,$(OS)),-D_LINUX_SOURCE_COMPAT)" \
&& $(MAKE) \
)