Skip to content

Commit

Permalink
don't remove other plugins after build, add -lsup++ flag for linker
Browse files Browse the repository at this point in the history
  • Loading branch information
sytelus committed Jul 22, 2017
1 parent b7dd047 commit a7a9c3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ rsync -a --delete AirLib Unreal/Plugins/AirSim/Source

# Update Blocks project
Unreal/Environments/Blocks/clean.sh
rsync -a --delete Unreal/Plugins Unreal/Environments/Blocks
mkdir -p Unreal/Environments/Blocks/Plugins
rsync -a --delete Unreal/Plugins/AirSim Unreal/Environments/Blocks/Plugins

set +x

Expand Down
2 changes: 1 addition & 1 deletion cmake/cmake-modules/CommonSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ macro(CommonSetup)
-nostdinc++ -isystem ${LIBCXX_INC_PATH} \
-D__CLANG__ ${CMAKE_CXX_FLAGS}")
set(CMAKE_EXE_LINKER_FLAGS "\
${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++ -lc++ -lc++abi -lm -lc -lgcc_s -lgcc -ldl \
${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++ -lc++ -lc++abi -lm -lc -lgcc_s -lgcc -lsupc++ \
-L ${LIBCXX_LIB_PATH}")

#do not use experimental as it might potentially cause ABI issues
Expand Down

0 comments on commit a7a9c3f

Please sign in to comment.