Skip to content

Commit

Permalink
FreeBSD supports hybrid binaries
Browse files Browse the repository at this point in the history
It works for both FreeBSD kernel-only as well as full FreeBSD userland.
  • Loading branch information
tautschnig committed Oct 13, 2023
1 parent bf49881 commit c3e7202
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/goto-cc/hybrid_binary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ int hybrid_binary(

int result = 0;

#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)
#if defined(__linux__) || defined(__FreeBSD_kernel__) || \
defined(__FreeBSD__) || defined(__OpenBSD__)
// we can use objcopy for both object files and executables
(void)building_executable;

Expand Down

0 comments on commit c3e7202

Please sign in to comment.