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.
37 lines
914 B
37 lines
914 B
Index: configure |
|
--- configure.orig 2011-02-07 08:12:09.000000000 +0100 |
|
+++ configure 2011-02-18 08:53:37.000000000 +0100 |
|
@@ -370,7 +370,7 @@ |
|
ASFLAGS="$ASFLAGS -f elf" |
|
fi |
|
;; |
|
- x86_64) |
|
+ x86_64 | amd64 ) |
|
ARCH="X86_64" |
|
AS="yasm" |
|
if [ "$SYS" = MACOSX ]; then |
|
@@ -720,8 +720,8 @@ |
|
fi |
|
|
|
if [ "$debug" != "yes" -a "$gprof" != "yes" ]; then |
|
- CFLAGS="$CFLAGS -s -fomit-frame-pointer" |
|
- LDFLAGS="$LDFLAGS -s" |
|
+ CFLAGS="$CFLAGS -fomit-frame-pointer" |
|
+ LDFLAGS="$LDFLAGS" |
|
fi |
|
|
|
if [ "$debug" = "yes" ]; then |
|
Index: encoder/analyse.c |
|
--- encoder/analyse.c.orig 2011-02-07 08:12:09.000000000 +0100 |
|
+++ encoder/analyse.c 2011-02-18 08:53:09.000000000 +0100 |
|
@@ -36,6 +36,10 @@ |
|
#include "analyse.h" |
|
#include "rdo.c" |
|
|
|
+#if defined(__FreeBSD__) && !defined(log2f) |
|
+#define log2f(x) (logf((x)) / logf(2)) |
|
+#endif |
|
+ |
|
typedef struct |
|
{ |
|
/* 16x16 */
|
|
|