ref: a239637be5aa448ad311bbe0eb2345f8c668ff7b
parent: c5ea53f0af788533e16c1b6925736b0bbb518037
author: Martin Storsjö <martin@martin.st>
date: Sun Jan 26 05:21:56 EST 2014
Fix building for freebsd in 64 bit mode
--- a/build/platform-freebsd.mk
+++ b/build/platform-freebsd.mk
@@ -1,5 +1,10 @@
ASM = nasm
CFLAGS += -fPIC
LDFLAGS += -lpthread
-ASMFLAGS += -f elf -DNOPREFIX
+ASMFLAGS += -DNOPREFIX
+ifeq ($(ENABLE64BIT), Yes)
+ASMFLAGS += -f elf64
+else
+ASMFLAGS += -f elf
+endif