Remove dependency on libstdc++
authorPhil.Wang <phil.wang@arm.com>
Wed, 25 Feb 2015 09:38:31 +0000 (17:38 +0800)
committerPhil.Wang <phil.wang@arm.com>
Wed, 25 Feb 2015 09:38:31 +0000 (17:38 +0800)
Set linker language to C.
libstdc++ is no longer needed when a 3rd party library is linked to Ne10.

Change-Id: Iaa7cfcd069044c896360a35f04e9d2abb5b6b6eb

modules/CMakeLists.txt
test/CMakeLists.txt

index 58e5c6e..f8a488d 100644 (file)
@@ -393,6 +393,7 @@ if(NE10_BUILD_SHARED)
         OUTPUT_NAME "NE10"
         CLEAN_DIRECT_OUTPUT 1
         VERSION ${NE10_VERSION}
+        LINKER_LANGUAGE C
     )
 
     add_library( NE10_test SHARED
index c7c7e93..98ec0b3 100644 (file)
@@ -138,6 +138,10 @@ if(NE10_ENABLE_DSP)
             )
         endif()
 
+        set_target_properties(NE10_dsp_unit_test_static PROPERTIES
+            LINKER_LANGUAGE C
+            )
+
     endif()
 endif()