You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
892 B
35 lines
892 B
Index: configure |
|
--- configure.orig 2014-07-20 20:20:34.000000000 +0200 |
|
+++ configure 2014-08-24 20:27:43.571374692 +0200 |
|
@@ -293,7 +293,7 @@ |
|
compiler_style="GNU" |
|
opencl="yes" |
|
|
|
-CFLAGS="$CFLAGS -Wall -I. -I\$(SRCPATH)" |
|
+CFLAGS="$CFLAGS -I. -I\$(SRCPATH)" |
|
LDFLAGS="$LDFLAGS" |
|
LDFLAGSCLI="$LDFLAGSCLI" |
|
ASFLAGS="$ASFLAGS" |
|
@@ -623,7 +623,7 @@ |
|
ASFLAGS="$ASFLAGS -f elf" |
|
fi |
|
;; |
|
- x86_64) |
|
+ x86_64 | amd64 ) |
|
ARCH="X86_64" |
|
AS="yasm" |
|
ASFLAGS="$ASFLAGS -DARCH_X86_64=1 -I\$(SRCPATH)/common/x86/" |
|
Index: encoder/analyse.c |
|
--- encoder/analyse.c.orig 2014-07-20 20:20:34.000000000 +0200 |
|
+++ encoder/analyse.c 2014-08-24 20:26:04.141362597 +0200 |
|
@@ -34,6 +34,10 @@ |
|
#include "analyse.h" |
|
#include "rdo.c" |
|
|
|
+#if defined(__FreeBSD__) && !defined(log2f) |
|
+#define log2f(x) (logf((x)) / logf(2)) |
|
+#endif |
|
+ |
|
typedef struct |
|
{ |
|
/* 16x16 */
|
|
|