summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-24 04:04:13 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-24 04:04:13 +0000
commite325b6d66f648376b2a96d7cf4b8dfbad6440529 (patch)
treedd2f5cc6ceb7e25a7d4746dfec368c095aed8bbd
parentbefd05e2ad65c5b421dd9f4aa6c2017408bae92e (diff)
downloadATCD-e325b6d66f648376b2a96d7cf4b8dfbad6440529.tar.gz
added the g++ options that were picked up from be/Makefile
-rw-r--r--TAO/TAO_IDL/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/Makefile b/TAO/TAO_IDL/Makefile
index fc1ce9de159..7801221307d 100644
--- a/TAO/TAO_IDL/Makefile
+++ b/TAO/TAO_IDL/Makefile
@@ -158,6 +158,12 @@ ifdef CROSS-COMPILE
@echo Nothing to clean in TAO_IDL on CROSS-COMPILE platforms.
else # ! CROSS-COMPILE
IDL_CFE_VERSION = \"1.3.0\"
+
+ ifeq ($(findstring g++,$(CXX)),g++)
+ CCFLAGS += -Wno-switch
+ PIC = -fPIC
+ endif # g++
+
CPPFLAGS += -Iinclude -Ibe_include -Ife -DCPP_LOCATION=\"$(CXX)\" \
-DIDL_CFE_VERSION=$(IDL_CFE_VERSION)