Skip to content

Commit 0443f28

Browse files
committed
Merge branch 'osx_build_fixes' of github.com:STEllAR-GROUP/hpx into osx_build_fixes
2 parents 28c4c83 + c99f4ba commit 0443f28

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

hpx/hpx_init_impl.hpp

-2
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ namespace hpx
7676
#endif
7777
// set a handler for std::abort
7878
std::signal(SIGABRT, detail::on_abort);
79-
#if !defined (__APPLE__)
8079
std::at_quick_exit(detail::on_exit);
81-
#endif
8280
std::atexit(detail::on_exit);
8381

8482
return detail::run_or_start(f, desc_cmdline, argc, argv,

hpx/hpx_start_impl.hpp

-2
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@ namespace hpx
7777
#endif
7878
// set a handler for std::abort, std::at_quick_exit, and std::atexit
7979
std::signal(SIGABRT, detail::on_abort);
80-
#if !defined (__APPLE__)
8180
std::at_quick_exit(detail::on_exit);
82-
#endif
8381
std::atexit(detail::on_exit);
8482

8583
return 0 == detail::run_or_start(f, desc_cmdline, argc, argv,

src/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ foreach(_module ${HPX_LIBS})
330330
# forced into libhpx with this option)
331331
if(APPLE)
332332
set(_module_target "-Wl,-all_load" "${_module_target}")
333-
else(APPLE)
333+
else(APPLE) # not apple, regular linux
334334
set(_module_target "-Wl,--whole-archive" "${_module_target}" "-Wl,--no-whole-archive")
335335
endif(APPLE)
336336
endif(UNIX)

0 commit comments

Comments
 (0)