Skip to content

Commit

Permalink
Fix broadcast add and subtract grad (apache#2465)
Browse files Browse the repository at this point in the history
  • Loading branch information
reminisce authored and Anthony-Mai committed Jan 28, 2019
1 parent c6eb179 commit c48f264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ else(MSVC)
include(CheckCXXCompilerFlag)
check_cxx_compiler_flag("-std=c++11" SUPPORT_CXX11)
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
add_compile_options(-O0 -Wall -fPIC -fvisibility=hidden -std=c++11)
add_compile_options(-O0 -Wall -fPIC -std=c++11)
else()
set(CMAKE_C_FLAGS "-O2 -Wall -fPIC ${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS "-O2 -Wall -fPIC -std=c++11 ${CMAKE_CXX_FLAGS}")
Expand Down

0 comments on commit c48f264

Please sign in to comment.