Skip to content

Commit b791e29

Browse files
committed
FreeBSD supports hybrid binaries
It works for both FreeBSD kernel-only as well as full FreeBSD userland.
1 parent 1a96b1c commit b791e29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/goto-cc/hybrid_binary.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ int hybrid_binary(
4848

4949
int result = 0;
5050

51-
#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)
51+
#if defined(__linux__) || defined(__FreeBSD_kernel__) || \
52+
defined(__FreeBSD__) || defined(__OpenBSD__)
5253
// we can use objcopy for both object files and executables
5354
(void)building_executable;
5455

0 commit comments

Comments
 (0)