summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/source/plugin/aqua/makefile.mk1
-rw-r--r--extensions/source/plugin/base/makefile.mk1
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/makefile.mk4
3 files changed, 2 insertions, 4 deletions
diff --git a/extensions/source/plugin/aqua/makefile.mk b/extensions/source/plugin/aqua/makefile.mk
index b68ee9f73f93..9cbe83809d11 100644
--- a/extensions/source/plugin/aqua/makefile.mk
+++ b/extensions/source/plugin/aqua/makefile.mk
@@ -55,7 +55,6 @@ CDEFS+=-DOJI
.ENDIF
.IF "$(GUIBASE)"=="aqua"
-OBJCXXFLAGS=-x objective-c++ -fobjc-exceptions
CFLAGSCXX+=$(OBJCXXFLAGS)
.ENDIF # "$(GUIBASE)"=="aqua"
diff --git a/extensions/source/plugin/base/makefile.mk b/extensions/source/plugin/base/makefile.mk
index f25f8fb47679..1e0a39b663e6 100644
--- a/extensions/source/plugin/base/makefile.mk
+++ b/extensions/source/plugin/base/makefile.mk
@@ -51,7 +51,6 @@ CDEFS+=-DDISABLE_XAW
.IF "$(WITH_MOZILLA)" != "NO"
.IF "$(GUIBASE)"=="aqua"
-OBJCXXFLAGS=-x objective-c++ -fobjc-exceptions
CFLAGSCXX+=$(OBJCXXFLAGS)
.ENDIF # "$(GUIBASE)"=="aqua"
diff --git a/lingucomponent/source/spellcheck/macosxspell/makefile.mk b/lingucomponent/source/spellcheck/macosxspell/makefile.mk
index c414c671dfcc..ac3ac3b7d3a0 100644
--- a/lingucomponent/source/spellcheck/macosxspell/makefile.mk
+++ b/lingucomponent/source/spellcheck/macosxspell/makefile.mk
@@ -52,8 +52,8 @@ CFLAGSCC += $(HUNSPELL_CFLAGS)
# --- Files --------------------------------------------------------
-CFLAGSCXX += -I..$/..$/lingutil
-CFLAGSCXX += -x objective-c++ -fobjc-exceptions
+CFLAGSCXX+=$(OBJCXXFLAGS)
+CFLAGSCXX+=-I..$/..$/lingutil
EXCEPTIONSFILES= \
$(SLO)$/macspellimp.obj