diff options
Diffstat (limited to 'build_detect_platform')
-rw-r--r-- | build_detect_platform | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build_detect_platform b/build_detect_platform index d1804e0..7f0df31 100644 --- a/build_detect_platform +++ b/build_detect_platform @@ -35,6 +35,11 @@ case `uname -s` in echo "PLATFORM_CFLAGS=-D_REENTRANT -DOS_FREEBSD" >> build_config.mk echo "PLATFORM_LDFLAGS=-lpthread" >> build_config.mk ;; + GNU/kFreeBSD) + PLATFORM=OS_FREEBSD + echo "PLATFORM_CFLAGS=-pthread -DOS_FREEBSD" >> build_config.mk + echo "PLATFORM_LDFLAGS=-lpthread -lrt" >> build_config.mk + ;; *) echo "Unknown platform!" exit 1 |