summaryrefslogtreecommitdiffstats
path: root/solenv/Executable_g++-wrapper.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--solenv/Executable_g++-wrapper.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/solenv/Executable_g++-wrapper.mk b/solenv/Executable_g++-wrapper.mk
new file mode 100644
index 000000000..1c4eb8dae
--- /dev/null
+++ b/solenv/Executable_g++-wrapper.mk
@@ -0,0 +1,20 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_Executable_Executable,g++-wrapper))
+
+$(eval $(call gb_Executable_add_exception_objects,g++-wrapper,\
+ solenv/gcc-wrappers/g++, $(gb_COMPILEROPTFLAGS) \
+))
+
+$(eval $(call gb_Executable_use_static_libraries,g++-wrapper,\
+ wrapper \
+))
+
+# vim:set noet sw=4 ts=4: